Opened 5 years ago

Closed 4 years ago

#2186 closed enhancement (fixed)

wcst_import - Import coverage's local metadata from external text files

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

Description

Currently, one needs to specify the keys, values of local metadata in general recipe (these keys/values belongs to input file (e.g: netCDF's metadata or tiff's tags).

In case, the metadata is not stored in an input file but as an corresponding external file (e.g: INSIPRE metadata .xml), one can add this setting in the ingredient file to allow to import the content of external metadata file as a part of coverage's local metadata:

          "metadata": {
            "type": "xml",
            "global": {
              "Title": "'Drought code'"
               },
             "local": {
                  "metadata_file": {
                       // metadata content from XML file will be the child element of this <INSPIRE> element
                      "root": "INSPIRE", 
                      "path": "/mnt/rasservice/DataImport/data/ICGC/OI_RGB_25m/${file:name}.xml"  
                   }
              }
          },

Change History (2)

comment:1 by Bang Pham Huu, 5 years ago

Owner: changed from bpj to Bang Pham Huu
Status: newassigned

comment:2 by Bang Pham Huu, 4 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.