Opened 8 years ago
Closed 8 years ago
#1507 closed defect (fixed)
WCST_Import_Evaluate ranges's metadata in GRIB/netcdf file
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.4 |
Component: | wcst_import | Version: | development |
Keywords: | wcst_import, evaluate band metadata, nilValue grib | Cc: | Vlad Merticariu, Dimitar Misev |
Complexity: | Medium |
Description
In GRIB/netcdf ingredient files, global metadata were evaluated and can ingest to Petascope, such as:
"global": { "Originating_or_generating_Center": "'${grib:centreDescription}'", "GRIB_table_version": "'${grib:marsParam}'", "Grib1_Parameter_name": "'${grib:parameterName}'", "Grib1_Parameter_id": "'${grib:paramId}'", "MARS type": "'${grib:marsType}'", "Type of level": "'${grib:typeOfLevel}'" }
However, the metadata for range (bands) were not evaluated and kept in string value as from ingredient file.
"bands": [ { "name": "Temperature_isobaric", "identifier": "'${grib:cfVarName}'", "description": "'${grib:marsClass}'", "nilReason": "Nil value represents missing values.", "nilValue": "'${grib:missingValue}'" } ],
and Petascope cannot parse nilValue as integer then will throw exception. Also, description, nilReason were not included in wcst_import gml and could be added to Coverage's band's metadata.
<swe:Quantity definition="'${grib:marsClass}'"> <swe:description></swe:description> <swe:nilValues> <swe:NilValues> <swe:nilValue reason="">
Note:
See TracTickets
for help on using tickets.