Skip to content

Commit

Permalink
Fixed a typo in the name of the expression in the water sesonality
Browse files Browse the repository at this point in the history
  • Loading branch information
tebadi committed Nov 15, 2024
1 parent b32c962 commit 87dc2b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions odc/stats/plugins/l34_utils/lc_water_seasonality.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def water_seasonality(xx: xr.Dataset, water_seasonality_threshold):
water_frequency = expr_eval(
"where((a!=a)|(a==watersea_nodata), nodata, a)",
{"a": xx.water_frequency.data},
name="mark_lifeform",
name="mark_water_season",
dtype="float32",
**{"nodata": NODATA, "watersea_nodata": WATER_FREQ_NODATA},
)
**{"nodata":NODATA, "watersea_nodata": WATER_FREQ_NODATA},
)

water_season_mask = expr_eval(
"where((a>watseas_trh)&(a<=12), 1, a)",
Expand Down

0 comments on commit 87dc2b9

Please sign in to comment.