For ensemble-based scoring rules, we need flexible handling of missing values in ensemble members.
Currently, ensemble-based metrics such as the CRPS return NaN if there is one or more NaNs in the ensemble members. It may be the case that users have an ensemble with a few NaNs (e.g. with lagged ensembles you have NaNs for some timestamps) but still want to get a valid score.
For ensemble-based scoring rules, we need flexible handling of missing values in ensemble members.
Currently, ensemble-based metrics such as the CRPS return NaN if there is one or more NaNs in the ensemble members. It may be the case that users have an ensemble with a few NaNs (e.g. with lagged ensembles you have NaNs for some timestamps) but still want to get a valid score.
Also ensures consistency with https://github.com/nci/scores/blob/develop/src/scores/probability/crps_impl.py