Skip to content

Commit

Permalink
fix typo on class code in landcover level4
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Ai committed Nov 27, 2024
1 parent caa72ff commit 385db0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odc/stats/plugins/l34_utils/l4_natural_aquatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,15 @@ def natural_auquatic_veg(l4, veg_cover, water_season):
# There are cases where a tile falls over water.
# In these cases, the PC will have no data so we map back 251-254 to their corresponding classes
res = expr_eval(
"where((a>=251)&(a<=252), 57, a)",
"where((a>=251)&(a<=252), 56, a)",
{
"a": res,
},
name="mark_final",
dtype="uint8",
)
res = expr_eval(
"where((a>=253)&(a<=254), 58, a)",
"where((a>=253)&(a<=254), 57, a)",
{
"a": res,
},
Expand Down

0 comments on commit 385db0c

Please sign in to comment.