Commit 397501ad authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

deal with missing data flagged as NaN in observations/predictions

The general approach is to "eliminate" the time steps where observations
or predictions are missing as early as possible in the algorithm. The
best approach seemed to update the user-provided temporal masks to
also mask those time steps with missing data.

An alternative approach would have been to create a view on the
observations and predictions, e.g. using something like
`xt::view(obs, ..., xt::drop(...))`, but this produces a non-contiguous
view which cannot be sorted with `xt::sort` later to determine the
quantiles.

This is documented in `evalp` docstring and new unit tests are added.
No related merge requests found
Pipeline #38528 passed with stages
in 2 minutes and 33 seconds
Showing with 115 additions and 3 deletions
+115 -3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment