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

[Bug]: categories used to map area exposed analysis results are incorrect #1381

Open
wadhwamatic opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage to be triaged for next action

Comments

@wadhwamatic
Copy link
Member

wadhwamatic commented Dec 6, 2024

What happened?

If I run an analysis and choose 'area exposed' as the statistic, the results show the hazard layer's color scale in the legend, but values are based on percentages so there's a mismatch.

This is a byproduct of PR #1297

In this case since we are reporting percentages, we could use a standard classification:

"<20%": #fee5d9
"20 - 39%": #fcae91
"40 - 59%": #fb6a4a
"60 - 79%": #de2d26
">=80%": #a50f15

If there's a short term solution to 'hard code' this, that would work. In the longer term, perhaps we can add a new feature to configure this?

Which country / deployment are you running?

all countries / main

Add a screenshot (if relevant)

Screenshot 2024-12-06 at 18 07 05
@wadhwamatic wadhwamatic added bug Something isn't working triage to be triaged for next action labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage to be triaged for next action
Projects
None yet
Development

No branches or pull requests

2 participants