Opened 6 years ago

Closed 6 years ago

#2090 closed defect (fixed)

wcst_import - error importing with global metadata "auto" and "colorPaletteTable"

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

Description

wcst_import will have an error with this netCDF ingredient:

  "metadata": {
          "type": "xml",
          "global": "auto",
	   "colorPaletteTable": 
            "color_palette_table_rasql_READY.cpt"
	},
  File "/home/rasdaman/rasdaman_community/rasdaman/applications/wcst_import/recipes/general_coverage/recipe.py", line 163, in validate
    self.options['coverage']['metadata']['global']['colorPaletteTable'] = color_palette_table
TypeError: 'unicode' object does not support item assignment

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

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