[Gdal-dev] NetCDF.. the world turned upside-down

Matthew Perry perrygeo at gmail.com
Mon Apr 10 14:16:40 EDT 2006


On 4/10/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Matthew Perry wrote:
> > Hey folks,
> >
> >  I ran into an issue using GDAL to access a NetCDF file;  The lower
> > lattitude of the dataset is further north than the upper lattitude!
> > ...
> > gdal_translating the image yields an upside-down image as a result.
> > ...
> > Is there a way to get gdal utilities to recognize the upside-down
> > nature of the image and "flip" it accordingly without
> > warping/resampling it?? Or does this call for using the GDAL API?
>
> I can't think of any mechanism to deal with this as a user other than
> GCPs or perhaps writing out a VRT file and manually editing the
> geotransform.
>
> If you can supply the file to Denis Nadeau (denis.nadeau at gmail.com)
> he can work on improving the driver to handle it out of the box.
>


The upside-down NetCDF in question is available at
http://www.coastwx.fish-tools.homelinux.org/coastwx/wrf-plots/sstnc.nc

--
Matt Perry
perrygeo at gmail.com
http://www.perrygeo.net




More information about the Gdal-dev mailing list