slv.measurements.mobile.obs.apply_slope_guard#
- slv.measurements.mobile.obs.apply_slope_guard(df, tol=0.05)[source]#
Set
CH4to NaN whereCH4d_mdiffers from the same UTC day’s median slope by more thantol(fraction).dfneedsTime_UTC,CH4andCH4d_m;tol=Noneis a no-op. Days with fewer than 100 sloped rows are left alone (no robust median).- Return type: