Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WCS config w/ correct scaling for NDVI, and fix legends #454

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

wadhwamatic
Copy link
Member

This PR addresses an error in NDVI configurations where the scale factor was missing which then leads to incorrect analysis results. The screenshots below show the incorrect result without the WCS config, followed by the correct results. The legend labels and legend text have also been corrected in this PR. This applies to all PRISM deployments.

Incorrect analysis results due to missing WCS config

Screen Shot 2022-04-15 at 11 00 24

Correct results following fix

Screen Shot 2022-04-15 at 11 02 42

"opacity": 0.7,
"legend_text": "LEGEND",
"legend_text": "Normalized Difference Vegetation Index (NDVI) derived from MODIS TERRA/AQUA",
"legend": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add an issue to create "standardized/shared" legends and wcs configs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wadhwamatic wadhwamatic merged commit e77d998 into master Apr 18, 2022
@wadhwamatic wadhwamatic deleted the hotfix/add-NDVI-scale-factor branch April 18, 2022 20:16
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