Opened 4 months ago

Closed 3 months ago

#1507 closed defect (fixed)

WCST_Import_Evaluate ranges's metadata in GRIB/netcdf file

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.4
Component: wcst_import Version: development
Keywords: wcst_import, evaluate band metadata, nilValue grib Cc: vmerticariu, dmisev
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="">

Change History (1)

comment:1 Changed 3 months ago by bphamhuu

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