ctdcal.process_ctd.manual_backfill¶ ctdcal.process_ctd.manual_backfill(df, p_cutoff, p_col='CTDPRS', flag_suffix='_FLAG_W')[source]¶ Overwrite values below cutoff pressure by backfilling the first data point past threshold upward to the surface. Backfilled data are flagged 6. Parameters df (DataFrame) – Input data p_cutoff (float) – Cutoff pressure for backfilling p_col (str, optional) – Name of pressure column in df flag_suffix (str, optional) – Parameter suffix for data flags Returns df – Input DataFrame with backfilled data Return type DataFrame