Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent 3c7944b commit e492d6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion odc/stats/plugins/l34_utils/l4_water_persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ def water_persistence(xx: xr.Dataset, watper_threshold):
{"a": xx.water_frequency.data},
name="mark_water",
dtype="uint8",
**{"m": watper_threshold[3], "nodata": NODATA, "water_freq_nodata": WATER_FREQ_NODATA},
**{
"m": watper_threshold[3],
"nodata": NODATA,
"water_freq_nodata": WATER_FREQ_NODATA,
},
)

# 10 <= water_frequency < 1 --> 1
Expand Down

0 comments on commit e492d6e

Please sign in to comment.