Skip to content

Commit 239d6ea

Browse files
author
Emma Ai
committed
flexible to the case that numpy change convention
1 parent a88dcda commit 239d6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odc/stats/plugins/lc_veg_class_a1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def l3_class(self, xx: xr.Dataset):
207207
},
208208
name="mark_nodata",
209209
dtype="uint8",
210-
**{"_n": xx.veg_frequency.attrs["nodata"], "nodata": NODATA},
210+
**{"nodata": NODATA},
211211
)
212212

213213
# Now add the water frequency

0 commit comments

Comments
 (0)