You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we prevent masking with extreme or extreme_diff when selecting length other than 1D and n other than 1 by raising a ValueError:
# Will raise a ValueError
mask = masks.extreme(
data, 'csp', var='resource', how='max',
length='1D', n=2, padding='calendar_week'
)
Steps to reproduce the problem
There is an inconsistency in processing more than a single day in _extreme_with_padding which needs to be addressed for the ValueError check to be removed.
The text was updated successfully, but these errors were encountered:
Problem description
Currently, we prevent masking with
extreme
orextreme_diff
when selectinglength
other than1D
andn
other than1
by raising a ValueError:Steps to reproduce the problem
There is an inconsistency in processing more than a single day in
_extreme_with_padding
which needs to be addressed for the ValueError check to be removed.The text was updated successfully, but these errors were encountered: