xcube-sh has parameters 'time_period' and 'time_tolerance' that are noth internally converted to a pandas timedelta object. In case of monthly or yearly values, the following warning is given:
FutureWarning: Units 'M', 'Y' and 'y' do not represent unambiguous timedelta values and will be removed in a future version
This means that xcube-sh in its current form will not be able to work with future versions of pandas. A solution could be to handle the internal representation of the time delta differently.
Another workaround is to not use ambiguous units 'M', 'Y' and 'y', but use D or W instead. A parameter validation could prevent from using ambiguous units.
xcube-sh has parameters 'time_period' and 'time_tolerance' that are noth internally converted to a pandas timedelta object. In case of monthly or yearly values, the following warning is given:
This means that xcube-sh in its current form will not be able to work with future versions of pandas. A solution could be to handle the internal representation of the time delta differently.