Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#5532 closed defect (fixed)

GRIB Driver has malformed geotransform when dimension are 1xn or nx1

Reported by: Kyle Shannon Owned by: Kyle Shannon
Priority: normal Milestone: 2.0.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: grib geotransform
Cc:

Description (last modified by Kyle Shannon)

kyle@kyle-hp-laptop:~/src/gdal/1.11/gdal$ gdalinfo ../autotest/gdrivers/data/one_one.grib2 -nomd
Driver: GRIB/GRIdded Binary (.grb)
Files: ../autotest/gdrivers/data/one_one.grib2
Size is 1, 1
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
    DATUM["unknown",
        SPHEROID["Sphere",6371229,0]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433]]
Origin = (-nan,-nan)
Pixel Size = (-nan,nan)
Corner Coordinates:
Upper Left  (        -nan,         nan) (-2147483648d-2147483648' -nan"E,-2147483648d-2147483648'  nan"N)
Lower Left  (        -nan,         nan) (-2147483648d-2147483648' -nan"E,-2147483648d-2147483648'  nan"N)
Upper Right (        -nan,         nan) (-2147483648d-2147483648' -nan"E,-2147483648d-2147483648'  nan"N)
Lower Right (        -nan,         nan) (-2147483648d-2147483648' -nan"E,-2147483648d-2147483648'  nan"N)
Center      (        -nan,         nan) (-2147483648d-2147483648' -nan"E,-2147483648d-2147483648'  nan"N)
Band 1 Block=1x1 Type=Float64, ColorInterp=Undefined
  Description = 10[m] HTGL="Specified height level above ground"
Band 2 Block=1x1 Type=Float64, ColorInterp=Undefined
  Description = 10[m] HTGL="Specified height level above ground"

Attachments (1)

one_one.grib2 (358 bytes) - added by Kyle Shannon 7 years ago.
one by one sized grib raster

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Kyle Shannon

Attachment: one_one.grib2 added

one by one sized grib raster

comment:1 Changed 7 years ago by Kyle Shannon

Description: modified (diff)

comment:2 Changed 7 years ago by Kyle Shannon

Resolution: fixed
Status: newclosed

fixed in trunk r27464, branches/1.11 r27465.

comment:3 Changed 6 years ago by Even Rouault

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.