Skip to content

Commit 997cfa9

Browse files
committed
1 parent 93f53e5 commit 997cfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disstans/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def clean(station: Station,
431431
< q1 - clean_settings["iqr_outlier"] * iqr,
432432
residual[mask_copy]
433433
> q3 + clean_settings["iqr_outlier"] * iqr)
434-
ts[dcol][mask] = np.NaN
434+
ts.df.loc[mask, dcol] = np.NaN
435435
residual = ts[dcol].values - ts_ref[dcol].values
436436
sd = np.nanstd(residual)
437437
# check for minimum number of clean observations

0 commit comments

Comments
 (0)