[Thread Prev][Thread Next][Index]
Re: [ferret_users] Ocean_temp palette
That ocean_temp.spk file uses "by-value" levels, not the 0-100 RGB scale of an ordinary palette. Note the first value in each line which is a temperature level. See the documentation for the difference between "RGB_Mapping By_value" and plain RGB.
BK
> On Feb 28, 2017, at 12:56 AM, vivek shilimkar <vivek.shilimkar@xxxxxxxxx> wrote:
>
> Dear Ryo Furue,
> CC: Ferret Users
>
> Sorry that I did not mentioned. I have already tried using the color palette from that website.
> I also compare the RGB_Values in ocean_temp.spk file from website with the ocean_temp.spk file in "/ferret/ppl" folder.
> They are same. So, I think, may be the RGB mapping for palette is wrong in these files.
>
> Following are the RGB_values in spk file.
>
> -2.0 80.0 0.0 100.0
> 0.0 30.0 20.0 100.0
> 10.0 0.0 60.0 30.0
> 20.0 100.0 100.0 0.0
> 30.0 100.0 0.0 0.0
> 35.0 60.0 0.0 0.0
>
> Could someone confirm whether these values are wrong/right?
> If right, then what could possibly be going wrong with colors?
>
> Following is the result of using ocean_temp color palette, which is wrong.
> <ocean_temp.gif>
>
> Vivek
>
>
>
> On Tue, Feb 28, 2017 at 5:25 PM, Ryo Furue <furue@xxxxxxxxxx> wrote:
> Vivek,
>
> On Tue, Feb 28, 2017 at 4:38 PM, vivek shilimkar <vivek.shilimkar@xxxxxxxxx> wrote:
> Dear Ferret Users,
>
> Somehow ocean_temp color palette is not plotting colors that it should.
> I need new spk file for ocean_temp palette.
> Could someone please send me ocean_temp.spk color palette?
>
> It's easy to do so, but I recommend you give the Google search a try!
>
> A Google search with "ocean_temp.spk" gave me this super useful website:
>
> https://github.com/NOAA-PMEL/Ferret/tree/master/palettes
>
> Cheers,
>
> Ryo
>
>
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement