Opened 7 days ago

Closed 6 days ago

#2841 closed defect (fixed)

FIX - wcst_import should throw error if metadata contains value as an object

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone:
Component: wcst_import Version: 10.4
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

For example, if metadata has in metadata section a value of a key and value is an object like below

 "metadata": {
          "type": "xml",
          "global": {
            "Title": "'CMIP6 monthly data on common grid'"
          },
          "local": {
            "Encoding": {
              "varname": {
                "0": "clt",
                "1": "evspsbl",
                "2": "hfls"
              },

then wcst_import should throw error because value of "Encoding" is not a string but a JSON object.

Change History (1)

comment:1 by Bang Pham Huu, 6 days ago

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