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

fix: unmask population layers to get correct mean population density #3294

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

turban
Copy link
Contributor

@turban turban commented Jul 31, 2024

The population layers are "constrained" meaning the pixels without a population is removed from the original dataset. When we are calculating the mean population density we get the wrong result as only pixels with a population in taken into account. This PR will fix this issue for 2.39.

After this PR the mean should take the full org unit area into account:

Screenshot 2024-07-31 at 15 23 09

@turban turban requested a review from BRaimbault July 31, 2024 13:29
Copy link

cypress bot commented Jul 31, 2024



Test summary

36 0 14 0


Run details

Project maps
Status Passed
Commit c2c1427
Started Jul 31, 2024 1:31 PM
Ended Jul 31, 2024 1:39 PM
Duration 08:11 💡
OS Linux Ubuntu - 22.04
Browser Electron 93

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@turban turban merged commit ed48621 into feat/DHIS2-16097-v39 Jul 31, 2024
8 checks passed
@turban turban deleted the feat/DHIS2-16097-v39-unmask branch July 31, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants