-
Notifications
You must be signed in to change notification settings - Fork 4
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
Differentiate mangroves and other aquatic veg #170
Conversation
dtype="uint8", | ||
) | ||
l4 = expr_eval( | ||
"where((a==124)&(b==12)&(c==2), 81, a)", | ||
########################################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
dtype="uint8", | ||
) | ||
######################################### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
|
||
l4 = expr_eval( | ||
"where((a==124)&(b==13)&(c==2)&(d==2), 86, a)", | ||
########################################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
dtype="uint8", | ||
) | ||
|
||
l4 = expr_eval( | ||
"where((a==124)&(b==10)&(c==2)&(d==2), 80, a)", | ||
######################################### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unwanted artefact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not unwanted. It's meant to be there to section the code
unwanted artefact
* Changed the band names to match the config files. Also updated vegetation , lifeform and water seasonality to correctly replace nodata * Fixed a typo in the name of the expression in the water sesonality * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update the path to the urban model on s3 * Differentiate mangroves and other aquatic veg (#170) * differentiate mangroves and other aquatic veg * fix level1 test --------- Co-authored-by: Emma Ai <[email protected]> * Fixed a few errors after rewriting the logic on aquatic vegetation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Emma Ai <[email protected]> Co-authored-by: Emma Ai <[email protected]>
* Changed the band names to match the config files. Also updated vegetation , lifeform and water seasonality to correctly replace nodata * Fixed a typo in the name of the expression in the water sesonality * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update the path to the urban model on s3 * Differentiate mangroves and other aquatic veg (#170) * differentiate mangroves and other aquatic veg * fix level1 test --------- Co-authored-by: Emma Ai <[email protected]> * Fixed a few errors after rewriting the logic on aquatic vegetation * Ensured nodata is replaced with 255 in all level4 plugins * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove debugging code * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Corrected the implementation of water seasonality and water persistence. Also made a range of other mappings at Level 4 based on the latest understanding of Collection 2 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Mock the veg and bare thresholds in the unit test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleaned the code and removed redundant checks at level4 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Applied more code cleaning --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Emma Ai <[email protected]> Co-authored-by: Emma Ai <[email protected]>
Now
mangroves=124
andothers=125
in level 1