Opened 16 years ago

Closed 16 years ago

#2313 closed enhancement (fixed)

grib/grib2 metadata

Reported by: leigh Owned by: warmerdam
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: grib
Cc:

Description (last modified by warmerdam)

Need gdal grib driver to pull out more metadata information

We need band meta data to display:

  • Band #
  • Product code(octet sequence)
  • Product name
  • Time(time period)
  • Type(surface,sea level etc)
  • The data (temp,wind speed,snow depth etc)[such as 15mph]
  • Units of the data(meters,feet,degrees(C or F or K),Pascals etc)

Change History (4)

comment:1 by warmerdam, 16 years ago

Component: defaultGDAL_Raster
Description: modified (diff)
Keywords: grib added
Milestone: 1.6.0
Status: newassigned

comment:2 by warmerdam, 16 years ago

Description: modified (diff)

comment:3 by warmerdam, 16 years ago

Leigh,

I have modified the code to attach the following information the "inventory" structure in the degrib library to each band. I think this covers several of your items. But I'm not clear on what you want for "The data" and whether these cover "type" and "product name". The high level api does not expose the raw product code octet sequence, but I should be able to drill down and get it if it is needed.

    GRIB_UNIT=[gpm]
    GRIB_COMMENT=Geopotential height [gpm]
    GRIB_ELEMENT=HGT
    GRIB_SHORT_NAME=1000-ISBL
    GRIB_REF_TIME=  1118707200 sec UTC
    GRIB_VALID_TIME=  1118710800 sec UTC
    GRIB_FORECAST_SECONDS=3600 sec

Updates applied in trunk (r14255).

comment:4 by warmerdam, 16 years ago

Resolution: fixed
Status: assignedclosed

Leigh,

I'm closing this as I think your needs are addressed. Please reopen if important items are still missing.

Note: See TracTickets for help on using tickets.