Opened 6 years ago

Closed 6 years ago

#1843 closed enhancement (fixed)

WCST_Import add local metadata from each files to coverage's metadata — at Version 1

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

Description (last modified by Bang Pham Huu)

Currently, only global metadata is occupied from the first file and metadata of other files are ignored. It will need to change:

+ at UpdateCoverage, metadata should be appended to the coverage's metadata (or at least have an option in the ingredient to do that)
+ the file path of each file imported should be added to the metadata of the coverage, in 1 separate tag (such as: '''fileReferenceHistory''').

Usage (specify keys, values of local manually) in general recipes

          "metadata": {
            "type": "xml",
            "global": {
              "Title": "'Drought code'"
         	  },
             "local": {
		"local_metadata_key": "${netcdf:metadata:LOCAL_METADATA}"
              }
          },

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

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