ctdcal.process_ctd.remove_on_deck

ctdcal.process_ctd.remove_on_deck(df, stacast, cond_startup=20.0, log_file=None)[source]

Find and remove times when rosette is on deck. Optionally log average pressure at start and end of cast.

Parameters
  • df (DataFrame) – Raw CTD data

  • stacast (str) – Station/cast name

  • cond_startup (float, optional) – Minimum conductivity (units?) threshold indicating rosette is in water

  • log_file (str, optional) – Path and filename to save start/end deck pressure values

Returns

trimmed_df – Raw CTD data trimmed to times when rosette is in water

Return type

DataFrame