Skip to content

Commit

Permalink
updates to demo notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyCMWF committed Aug 25, 2023
1 parent 539ef64 commit 2cd969b
Show file tree
Hide file tree
Showing 2 changed files with 705 additions and 162 deletions.
4 changes: 2 additions & 2 deletions earthkit/climate/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ def rolling_reduce(

# Any kwargs left after above reductions are kwargs for reduction method
reduce_kwargs = kwargs
print("rolling kwargs: ", rolling_kwargs)
# print("rolling kwargs: ", rolling_kwargs)
# Create rolling groups:
data_rolling = dataarray.rolling(**rolling_kwargs)
print("reduce kwargs: ", reduce_kwargs)
# print("reduce kwargs: ", reduce_kwargs)

data_windowed = reduce(data_rolling, how=how_reduce, **reduce_kwargs)

Expand Down
Loading

0 comments on commit 2cd969b

Please sign in to comment.