Opened 5 years ago

Closed 5 years ago

#2015 closed enhancement (fixed)

Petascope_Support rasql ready colorPaletteTable from external metadata color palette file

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

Description

One can add a colorPaletteTable as JSON object in an external file and used it in generalRecipe as global metadata, e.g:

"global": {
              "Title": "'Drought code'"
         	  },
             "colorPaletteTable": "PATH/color_palette_table_rasql_READY.cpt"
          }

And this file should contain 256 RGB color values such as https://pastebin.com/iFcqkLGv.

Then, in petascope when encoding as png or tiff, this colorPalette is added implicitly and return the colorful result.

Change History (1)

comment:1 by Bang Pham Huu, 5 years ago

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