Re: [gdal-dev] NetCDF geotransform - pixel centre/upper-left issue

2010-04-27 Thread Roger André
From my experience working with NetCDF files in GDAL, your best option is to write your own tools to work between NetCDF and other raster formats. Specifically, I would use the API to read the NetCDF, and explicitly define the georeferencing of your output file using whatever logic you know to be

Re: [gdal-dev] NetCDF geotransform - pixel centre/upper-left issue

2010-04-06 Thread Michael Sumner
I believe that NetCDF generally uses cell centres to specify pixel coordinates, and there is no way to specify cell corners except by adding metadata about the actual dimensions boundaries (this is more problematic again if coordinates are not regular since you cannot assume a regular half cell).

[gdal-dev] NetCDF geotransform - pixel centre/upper-left issue

2010-04-05 Thread Pinner, Luke
The NetCDF driver computes the pixel centre from lat/lon variables (see http://trac.osgeo.org/gdal/ticket/1506). Is this correct or should it compute pixel upper-left? Using the example NetCDF dataset attached to the above ticket (http://trac.osgeo.org/gdal/attachment/ticket/1506/out.nc),