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
When calling improver weighted-blending via the CLI, it is possible to pass multiple cubes that all have weights of 0 (as the graph has no knowledge of the blending weights). e.g. tempmax12h, for a 24 hour leadtime being passed engluk and ecukx only.
Currently this results in blending.weights.WeightsUtilities raising ValueError("Sum of weights must be > 0.0"). It is desirable for this to be a warning so that suites can continue to cycle.
Acceptance criteria:
No change when presented with a full data set
If there is no weight to any input, raise a warning and return None
The text was updated successfully, but these errors were encountered:
When calling improver weighted-blending via the CLI, it is possible to pass multiple cubes that all have weights of 0 (as the graph has no knowledge of the blending weights). e.g. tempmax12h, for a 24 hour leadtime being passed engluk and ecukx only.
Currently this results in blending.weights.WeightsUtilities raising ValueError("Sum of weights must be > 0.0"). It is desirable for this to be a warning so that suites can continue to cycle.
Acceptance criteria:
The text was updated successfully, but these errors were encountered: