Using color palette *.lut in Seadas 7.3.2

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
r.fernandes
Posts: 27
Joined: Wed Jun 06, 2012 6:55 pm America/New_York
Answers: 0

Using color palette *.lut in Seadas 7.3.2

by r.fernandes » Mon Jan 30, 2017 12:57 pm America/New_York

Hi,
I have a color palette that a used in the old Seadas with the *.lut format, is there any way i can load it on Seadas 7.3.2 or do i need to convert it to a *.cpd file?

thanks for the help

Tags:

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 269
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

Using color palette *.lut in Seadas 7.3.2

by OB SeaDAS - knowles » Tue Jan 31, 2017 11:53 am America/New_York

Sorry but, SeaDAS 7.3.2. can only read in the *.cpd format.  SeaDAS in the future may support other formats.  SeaDAS 7.4 (soon to be released) will export some other color palette formats, (namely cpt and pal), but not import.  Regarding the cpd format: the "isLogScaled" field enables SeaDAS to properly display the color bar.

Here are 2 example cpd files showing you the fields.  Most fields should be self-explanatory. 
--------------------------------------------
# Color Palette Definition File
numPoints=3
isLogScaled=false
shortDescription=A 3 point gray-scale linear-scaled palette
color0=0,0,0
color1=128,128,128
color2=255,255,255
sample0=0
sample1=.5
sample2=1
-------------------------------------------------------------
# Color Palette Definition File
numPoints=3
isLogScaled=true
shortDescription=A 3 point gray-scale log-scaled palette
color0=0,0,0
color1=128,128,128
color2=255,255,255
sample0=0.01
sample1=0.1
sample2=1
-------------------------------------------------------------

r.fernandes
Posts: 27
Joined: Wed Jun 06, 2012 6:55 pm America/New_York
Answers: 0

Using color palette *.lut in Seadas 7.3.2

by r.fernandes » Wed Feb 01, 2017 6:35 am America/New_York

Thanks for the clear answer!

Post Reply