On 28-06-2010 23:47, Michael Sumner wrote:
Thanks for the heads up, I've not used GMT versions of NetCDF much, or
recently. The vast majority of NetCDF I've had to work with do not
make this explicit, and this is about the most detailed discussion
I've seen:

http://www.mail-archive.com/[email protected]/msg00566.html

Cheers, Mike.

Mike,

Meanwhile I found (should know it by hart, though) how GMT does it. The info is stored on a global attribute
"node_offset".
0 for grid registration (pixel-is-point) and 1 for pixel registration (pixel-is-area) Furthermore, when reading grids created by other programs that do not store that info GMT guesses the grid type based on the array size and the coordinates limits.

Joaquim

On Tue, Jun 29, 2010 at 8:33 AM, Joaquim Luis<[email protected]>  wrote:
netCDF grids created by GMT have always (~20 years) made that distinction
and store that information.

Joaquim




_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to