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
At the moment, when crunching with e.g. get_scm_timeseries, land_mask_threshold expects a percentage (i.e. 0-100) value. Sometimes data is provided with a fraction (i.e. 0-1) value. get_scm_timeseries should do some sort of sensible test.
Describe the bug
At the moment, when crunching with e.g.
get_scm_timeseries
,land_mask_threshold
expects a percentage (i.e. 0-100) value. Sometimes data is provided with a fraction (i.e. 0-1) value.get_scm_timeseries
should do some sort of sensible test.Failing Test
tas.get_scm_timeseries(
sftlf_cube=sftlf,
land_mask_threshold=50,
areacella_scmcube=None
)
on a cube which has sftlf values from 0-1
Expected behavior
A warning that the threshold looks wrong.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: