coecms / xmhw

Xarray version of Marine Heatwaves code by Eric Olivier
https://xmhw.readthedocs.io/en/latest/
Apache License 2.0
22 stars 10 forks source link

Re-organised threshold function, update demo and documentation, removed bug from stats. #39

Closed paolap closed 2 years ago

paolap commented 2 years ago

Main improvements are: Re-organised threshold function - now the calculation of percentile and average are separated in delayed functions. Added options to handle NaNs, in particular to be able to use mean() and quantile() function without skipna=True by default. Update xmhw_demo notebook and documentation to reflect changes. Removed bug from stats and added tests.