ctdcal.process_ctd.roll_filter¶ ctdcal.process_ctd.roll_filter(df, p_col='CTDPRS', direction='down')[source]¶ Filter out heaving in CTD data due to ship rolls. Parameters df (DataFrame) – CTD data p_col (str, optional) – Name of pressure column direction (str, optional) – Direction of cast (i.e. “down” or “up” cast) Returns var2 – var description Return type dtype