Opened 16 years ago

Last modified 12 years ago

#2637 closed defect

grib driver: grid vs cell-center convention wrong? — at Version 7

Reported by: hamish Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: grib
Cc: Kyle Shannon, bfraser, Daniel Morissette, mprecise, Even Rouault

Description (last modified by rhijmans)

It would be really nice if this error gets fixed. It has been open for a long time.

Change History (10)

by hamish, 16 years ago

Attachment: grib_half_cell_shift.png added

grib cells shifted 1/2 to SE

comment:1 by hamish, 16 years ago

I'd note that the cell size for these files are typically 1-1.25 degrees, so the data is offset > 50km.

Hamish

comment:2 by Kyle Shannon, 15 years ago

Cc: Kyle Shannon added

comment:3 by tbouffon, 15 years ago

Resolution: worksforme
Status: newclosed

Hi, I haven't had time to check 1.6.2, but since the bug is not marked as closed, the attached patch seems to shift the area back. I only tested it for one day, so use with care !

by tbouffon, 15 years ago

Attachment: gdal_grib_node.patch added

comment:4 by tbouffon, 15 years ago

Resolution: worksforme
Status: closedreopened

Sorry I didn't mean to close the bug, just wanted to says my patch works for me. By the way, The bug is still in 1.6.2, and the patch still works fine

by hamish, 14 years ago

updated patch vs. latest svn trunk for grid registration error

comment:5 by hamish, 14 years ago

recut patch compatible with the latest svn trunk added.

apparent confirmation of the grid-registration error diagnosis:

http://thread.gmane.org/gmane.comp.gis.grass.user/35145/focus=35661 http://thread.gmane.org/gmane.comp.gis.grass.user/35145/focus=35666

Hamish

comment:6 by hamish, 14 years ago

sample data in #3629 (a duplicate)

in reply to:  6 comment:7 by rhijmans, 13 years ago

Description: modified (diff)

Replying to hamish:

sample data in #3629 (a duplicate)

Note: See TracTickets for help on using tickets.