Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

GDAL NetCDF driver and projection.

Hi All,

I would like to have suggestions from the community on the current needs for 
the GDAL NetCDF driver.  I am currently writing the CreateCopy method to allow 
people to convert from any GDAL supported format to NetCDF CF-1 convention 
format.

At this point I am stuck with projection issues.  How should I handle DATUM, 
SPHEROID and AUTHORITY?  I can produce a lat lon arrays to reproject the 
projected coordinates to lat/lon space but that may be expensive in cpu and 
space.

I am thinking as well to create an array containning the GeoTransform values if 
found in the source file.

    adfGeoTransform[0] /* top left x */
    adfGeoTransform[1] /* w-e pixel resolution */
    adfGeoTransform[2] /* rotation, 0 if image is "north up" */
    adfGeoTransform[3] /* top left y */
    adfGeoTransform[4] /* rotation, 0 if image is "north up" */
    adfGeoTransform[5] /* n-s pixel resolution */


Thanks for your suggestion,

Best Regards,
Denis Nadeau



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690