grib driver: grid vs cell-center convention wrong?
|Reported by:||hamish||Owned by:||warmerdam|
|Cc:||kyle, bfraser, dmorissette, mprecise, rouault|
Description (last modified by hamish)
I'd previously sent this to ticket #2550 but as it seems to be mostly unrelated to the problem described there I think it deserves its own one.
I am seeing a shift in GRIB data.
AFAICT it is simply shifted half a cell to the SE from where it should be. I assumed this was due to the usual grid vs. cell-center convention mistake, but that's just a round up the usual suspects guess.
a list of commands to recreate my image is here:
GRIB data in the screenshot downloaded from globalmarinenet.net. I can't guarantee the integrity of globalmarinenet's data (I have no idea about it other than the link); so it would be good to verify that this is happening with other datasets (ie something directly from the WMO) and in the spec. In the PDF which speaks of triangulation method it talks about data being at the vertices, fwtw.
ps- Is there an internal tag in the format for no-data? In the above data it is represented by "9999", which is easy to set with gdal_translate -a_nodata, but in other GRIB data I have it is what I guess is the max for Float64, which is a number 4-6 lines long; too much to type by hand.
Change History (24)
Changed 8 years ago by hamish
comment:3 Changed 7 years ago by tbouffon
- Resolution set to worksforme
- Status changed from new to closed
Changed 7 years ago by tbouffon
comment:4 Changed 7 years ago by tbouffon
- Resolution worksforme deleted
- Status changed from closed to reopened