Opened 7 years ago

Last modified 7 years ago

#7103 closed defect

grib file: wrongly positioned, or wrong (meta)data? — at Version 1

Reported by: rduivenvoorde Owned by: warmerdam
Priority: normal Milestone: 2.2.3
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by Even Rouault)

I have this grb file (http://duif.net/grb.zip) which in gdalinfo shows:

gdalinfo ECMWF_DET_RIVM_Set_01_2017082100_000_GB.grb 
Warning: Inside GRIB2Inventory, Message # 117
ERROR: Ran out of file reading SECT0
There were 20 trailing bytes in the file.
Driver: GRIB/GRIdded Binary (.grb)
Files: ECMWF_DET_RIVM_Set_01_2017082100_000_GB.grb
Size is 720, 361
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
    DATUM["unknown",
        SPHEROID["Sphere",6371229,0]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433]]
Origin = (180.250000000000000,90.250000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)
Corner Coordinates:
Upper Left  ( 180.2500000,  90.2500000) (180d15' 0.00"E, 90d15' 0.00"N)
Lower Left  ( 180.2500000, -90.2500000) (180d15' 0.00"E, 90d15' 0.00"S)
Upper Right (     540.250,      90.250) (Invalid angle, 90d15' 0.00"N)
Lower Right (     540.250,     -90.250) (Invalid angle, 90d15' 0.00"S)
Center      (     360.250,       0.000) (360d15' 0.00"E,  0d 0' 0.01"N)
Band 1 Block=720x1 Type=Float64, ColorInterp=Undefined
  Description = 97[-] HYBL="Hybrid level"

Which seems a little odd? That is the upper right corner in a normal map... BUT in panoply it is viewed normal. See screendump: left is panoply, right is QGIS

Is this a data problem? Or a datum wrap arround problem.

(no need to hack something, if it is wrong data I'll try to contact the data owners)

Change History (2)

by rduivenvoorde, 7 years ago

Attachment: grib.png added

left panoply, right QGIS + world

comment:1 by Even Rouault, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.