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

Data/tree cover gain decoding #4708

Merged
merged 6 commits into from
Jan 17, 2024
Merged

Conversation

AngelArcones
Copy link
Collaborator

@AngelArcones AngelArcones commented Oct 17, 2023

Overview

This PR aims to improve the visibility of the Tree Cover Gain layer, especially from zoomed out views.
To do so, a new decoding function treeGain is created, in which the alpha channel is multiplied by a function that drops super low opacity pixels and scales the rest to higher values

Demo

This is the current view in production:
Screenshot 2023-10-16 at 17 56 20

Screenshot 2024-01-17 at 18 32 01

Environment

The changes of this PR can only be tested in the staging environment.

Deploy

To deploy these changes, it requires not only merging and promoting the code changes, but also updating the decode_function parameter in the production layer, from "staticRemapAlpha" to "treeGain" (using postman or LMIpy)

@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 October 17, 2023 14:55 Inactive
@wri7tno wri7tno temporarily deployed to gfw-staging-pr-4708 October 17, 2023 15:33 Inactive
@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 November 30, 2023 18:26 Inactive
@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 January 8, 2024 19:16 Inactive
@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 January 8, 2024 20:06 Inactive
@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 January 8, 2024 20:49 Inactive
@willian-viana willian-viana force-pushed the data/tree_cover_gain_decoding branch from c9c6563 to 4ad3a16 Compare January 10, 2024 17:55
@willian-viana willian-viana temporarily deployed to gfw-staging-pr-4708 January 10, 2024 17:55 Inactive
@willian-viana willian-viana merged commit c2075ad into develop Jan 17, 2024
4 checks passed
@willian-viana willian-viana deleted the data/tree_cover_gain_decoding branch January 17, 2024 21:32
@willian-viana willian-viana mentioned this pull request Jan 17, 2024
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.

4 participants