US-GHG-Center / veda-config-ghg

Veda config for GHG
https://ghg-demo.netlify.app
Other
3 stars 15 forks source link

Change GOSAT colormap to spectral_r #321

Closed j08lue closed 3 months ago

j08lue commented 3 months ago

New looks:

image

netlify[bot] commented 3 months ago

Deploy Preview for ghg-demo ready!

Name Link
Latest commit 03db59726cdc51ca2f91c1b7ff0b2f9798a75bd1
Latest deploy log https://app.netlify.com/sites/ghg-demo/deploys/65f15cc1c6d0e1000830b7dc
Deploy Preview https://deploy-preview-321--ghg-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

j08lue commented 3 months ago

it looks like jet is still the colorbar shown in the lower right-hand corner. Does that need to be updated separately?

You are right, thanks for catching this! I'll update it here shortly.

j08lue commented 3 months ago

Fixed now:

image

j08lue commented 3 months ago

Btw, this is the code I used to generate the stops:

import matplotlib as mpl
import numpy as np

cmap = mpl.colormaps['Spectral_r']

for step in np.linspace(0, 1, 10):
    print(mpl.colors.rgb2hex(cmap(step)))