Skip to content

Commit

Permalink
Fix fusing nidem (#144)
Browse files Browse the repository at this point in the history
* fix fusing nidem over tiles

* pin numpy<2.0 in test

---------

Co-authored-by: Emma Ai <[email protected]>
  • Loading branch information
emmaai and Emma Ai committed Jul 29, 2024
1 parent a090eb6 commit f066feb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions odc/stats/plugins/lc_veg_class_a1.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def native_transform(self, xx):

return xx

def fuser(self, xx):
return xx

def reduce(self, xx: xr.Dataset) -> xr.Dataset:
if self.measurements != self.input_bands:
xx = xx.rename(dict(zip(self.input_bands, self.measurements)))
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ future_fstrings
mock
moto
networkx
numpy
numpy<2.0
odc-algo @ git+https://github.com/opendatacube/odc-algo@bb662fe
odc-cloud>=0.2.5
odc-stac @ git+https://github.com/opendatacube/odc-stac@69bdf64
Expand Down

0 comments on commit f066feb

Please sign in to comment.