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

add check that time dimension is present in time series array #29

Closed paolap closed 3 years ago

paolap commented 3 years ago

Add check at start of threshold and detect that time dimension is present either as 'time' or whatever the user passed as alternative. Print exception if it fails.

paolap commented 3 years ago

solved in commit https://github.com/coecms/xmhw/pull/30/commits/f140b085f3e42919bfda6b8fe6d941a7f5c7123e