Skip to content

Conversation

hanbyul-here
Copy link
Collaborator

We couldn't narrow down the reason but it seems we can't use hex value for our production tiler. I edited configuration file to use rgb value
This also required a change from UI, so I included UI fix here but that needs to be reverted once confirmed.

  • revert UI

Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for visex ready!

Name Link
🔨 Latest commit 3ee613d
🔍 Latest deploy log https://app.netlify.com/sites/visex/deploys/67ad224eb3547000085c12b1
😎 Deploy Preview https://deploy-preview-669--visex.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.

@anayeaye
Copy link
Collaborator

@hanbyul-here I think this dataset may need the custom colormap_name=nlcd because of the production firewall will block the long url needed for the custom colormap

NASA-IMPACT/veda-data#293

@anayeaye
Copy link
Collaborator

@hanbyul-here I think this dataset may need the custom colormap_name=nlcd because of the production firewall will block the long url needed for the custom colormap

NASA-IMPACT/veda-data#293

Actually, that preview looks good. I thought this definition was too long for the WAF url restrictions.

hanbyul-here added a commit to NASA-IMPACT/veda-ui that referenced this pull request Mar 5, 2025
**Related Ticket:** #1456 

### Description of Changes
Categorical legend often doesn't have a colormap name but custom
colormap values. This PR makes colormap&&rescale combination valid
sourceParam. I think I would still like to run it with back-end team re:
what makes sourceParams valid.

### Notes & Questions About Changes
We need to consolidate where we are subbing colormap and rescale value.
The current dataflow seems to be scattered, making it difficult to pin
down where the source of the data is. IMO, it should happen while
reconciling the render data.

Also it is interesting... that [GeoGLAM
dataset](https://earthdata.nasa.gov/dashboard/exploration?datasets=%5B%7B%22id%22%3A%22geoglam%22%2C%22settings%22%3A%7B%22isVisible%22%3Atrue%2C%22opacity%22%3A100%2C%22analysisMetrics%22%3A%5B%7B%22id%22%3A%22mean%22%2C%22label%22%3A%22Average%22%2C%22chartLabel%22%3A%22Average%22%2C%22themeColor%22%3A%22infographicB%22%7D%2C%7B%22id%22%3A%22std%22%2C%22label%22%3A%22St+Deviation%22%2C%22chartLabel%22%3A%22St+Deviation%22%2C%22themeColor%22%3A%22infographicD%22%7D%5D%7D%7D%5D&taxonomy=%7B%7D&search=&date=2025-01-01T05%3A00%3A00.000Z)
has been displayed just fine - which is another categorical dataset with
colormap value. It just didn't get caught in any of our error Logic -
which probably means that we can do better 😬

### Validation / Testing
Check campfire nlcd data from the preview of
NASA-IMPACT/veda-config#669
direct url:
https://deploy-preview-669--visex.netlify.app/exploration?datasets=%5B%7B%22id%22%3A%22campfire-nlcd%22%2C%22settings%22%3A%7B%22isVisible%22%3Atrue%2C%22opacity%22%3A100%2C%22analysisMetrics%22%3A%5B%7B%22id%22%3A%22mean%22%2C%22label%22%3A%22Average%22%2C%22chartLabel%22%3A%22Average%22%2C%22themeColor%22%3A%22infographicB%22%7D%2C%7B%22id%22%3A%22std%22%2C%22label%22%3A%22St+Deviation%22%2C%22chartLabel%22%3A%22St+Deviation%22%2C%22themeColor%22%3A%22infographicD%22%7D%5D%7D%7D%5D&taxonomy=%7B%7D&search=&date=2019-01-01T05%3A00%3A00.000Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants