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

add warning if climatologyPeriod not in array #47

Open paolap opened 2 years ago

paolap commented 2 years ago

If user chooses a climatologyPeriod outside the array time axis the program will fail because of an empty array in land_check. We should add and exception at the start to caught this mistake