remedial_ctm: UI and wrapper for split_ctm

View source: R/split_ctm.R

remedial_ctmR Documentation

UI and wrapper for split_ctm

Description

Visually inspect plots and decide if raw files should be reprocessed using cell thermal mass correction parameters for individual profiles instead of the parameters estimated for both casts. Profiles selected for additional CTM are processed using split_ctm.

Usage

remedial_ctm(
  rds_path = here::here("output", "gapctd"),
  haul_df,
  threshold = -1e-05
)

Arguments

rds_path

Path to directory containing rds files.

haul_df

data.frame containing haul data from RACEBASE that includes metadata for the cnv file.

threshold

Numerical. Threshold for flagging a density inversion. Must be negative. Default (-1e-5) is the buoyancy frequency threshold PMEL uses.

Value

Profiles (in "_full.rds" files) processed using CTM parameters estimated for individual casts if cell thermal mass correction parameter estimation converged for the individual casts.

Author(s)

Sean Rohan


sean-rohan-NOAA/gapctd documentation built on March 1, 2025, 9:27 a.m.