Opened 3 weeks ago

Closed 3 weeks ago

#1590 closed defect (fixed)

WCST_Import_Specification of unit of measurement (uom) for a coverage

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.5
Component: wcst_import Version: development
Keywords: Cc: vmerticariu, dmisev
Complexity: Medium

Description (last modified by bphamhuu)

Copied from http://earthserver.eu/trac2/ticket/229

for netCDF and GRIB which can contain metadata for units, user can specify the real value from file, with netCDF it will extract from variable's metadata, e.g:

{netcdf:variable:LAI:units} with LAI is an example of variable name

with GRIB, it can be something else (as it has multiple properties for units) but can be extracted from file's metadata, e.g:

${grib:unitsOfFirstFixedSurface}

the metadata is returned as a string, e.g: "ug/m3", "Celcius",... instead of 101 as current.

So, the new added property in general recipe is "uomCode" and values from netCDF, GRIB file as above.

Then, when DesribeCoverage?, the band (range) will have the specified units, e.g:

<swe:uom code="ug/m3"/>

Change History (1)

comment:1 Changed 3 weeks ago by bphamhuu

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.