pyesmda.check_nans_in_predictions# pyesmda.check_nans_in_predictions(d_pred: ndarray[tuple[Any, ...], dtype[float64]], assimilation_step: int) → None[source]# Check and raise an exception if there is any NaNs in the input predictions array. Parameters: d_pred (NDArrayFloat) – Input prediction vector(s). assimilation_step (int) – Assimilation step index. 0 means before the first assimilation. Raises: Exception – Raised if NaNs are found. It indicates which ensemble members have incorrect predictions, and at which assimilaiton step.