Opened 7 years ago

Closed 7 years ago

#1590 closed defect (fixed)

WCST_Import_Specification of unit of measurement (uom) for a coverage

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: wcst_import Version: development
Keywords: Cc: Vlad Merticariu, Dimitar Misev
Complexity: Medium

Description (last modified by Bang Pham Huu)

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 by Bang Pham Huu, 7 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.