coecms / xmhw

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

move out extra operations from calc_threshold #38

Closed paolap closed 2 years ago

paolap commented 2 years ago

calc_threshold currently includes the smoothing of the threshold after the calculation, I'm trying to separate the actual calculation from anything else so it can be delayed more effectively

paolap commented 2 years ago

This are separated now as 3 different functions: calculate_threshold(), calculate_mean() and rung() and all of them are delayed. Commit: https://github.com/coecms/xmhw/commit/282a5ac16931a6572f5ac962ac277e7c317344f4