Skip to content
Snippets Groups Projects
Commit 92a5bb4b authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

fixed one-off error in inerpolateNaNs

parent 86fa51ae
No related branches found
No related tags found
1 merge request!600Inter limit fix
This commit is part of merge request !600. Comments created here will be created in the context of that merge request.
......@@ -310,7 +310,7 @@ def interpolateNANs(
else:
gap_mask = (
gap_mask.replace(True, np.nan)
.fillna(method="bfill", limit=inter_limit)
.fillna(method="bfill", limit=inter_limit-1)
.replace(np.nan, True)
.astype(bool)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment