[gdal-dev] Projection issue with a netcdf file

Frank Warmerdam warmerdam at pobox.com
Thu Feb 18 15:02:14 EST 2010


Kyle Shannon wrote:
> Frank,
> I have been working on this issue for some time and the driver has a 
> quirky way of handling spatial reference parameters.  If a tag is not 
> present, the netCDFDataset::FetchCopyParms() function returns a default 
> value.  Currently, those default values are all specified as 0.0.  
> Because of this, there is no error and my projection is set with several 
> 0.0 values.  I have fixed the standard parallel issue on my local 
> machine and it now supports CF-1 tags(standard_parallel) as well as gdal 
> tags (standard_parallel_1 and standard_parallel_2).  I would like to 
> continue to update the driver for other tags that have been added to CF, 
> but still support gdal tags as well, but I am not sure if my programming 
> methods will be suitable.  I would hate to do a bunch of work and not be 
> able to incorporate it.  Any thoughts on how to go about this?

Kyle,

I would welcome you contributing improvements in this area.  I will attempt
to apply the patches even though I am not so familiar with the details of
the driver.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list