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

fixed bug with rate_onset and rate_decline #26

Closed paolap closed 3 years ago

paolap commented 3 years ago

Fixed bug in rate_decline and rate_onset calculation, now matches Eric's Problem was I was passing index_peak which is the index relative to the entire time series as "tt_peak" which is meant to be the peak index relative to the event. Also fixe disque with intensity_max_abs and intensity_max_relThresh