Opened 12 years ago

Last modified 9 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)

Changed 12 years ago by hamish

Attachment: grib_half_cell_shift.png added

grib cells shifted 1/2 to SE

comment:1 Changed 12 years ago by hamish

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 Changed 11 years ago by Kyle Shannon

Cc: Kyle Shannon added

comment:3 Changed 11 years ago by tbouffon

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 !

Changed 11 years ago by tbouffon

Attachment: gdal_grib_node.patch added

comment:4 Changed 11 years ago by tbouffon

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

Changed 10 years ago by hamish

updated patch vs. latest svn trunk for grid registration error

comment:5 Changed 10 years ago by hamish

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 Changed 10 years ago by hamish

sample data in #3629 (a duplicate)

comment:7 in reply to:  6 Changed 10 years ago by rhijmans

Description: modified (diff)

Replying to hamish:

sample data in #3629 (a duplicate)

Note: See TracTickets for help on using tickets.