Create a regional CTD composite figure (all standard stations)
Source:R/ctd_plots.R
create_ctd_region_figure.RdProduces a multi-station patchwork figure for one geographic region. Each row shows one station: left panel is the CTD fluorescence profile (0–50 m, deduplicated casts, shared x-scale), right panel is the Chl-a time series with smooth spline historical statistics.
Usage
create_ctd_region_figure(
ctd_data_full,
lims_data_full = NULL,
chl_stats,
standard_stations,
region,
current_year,
force_two_columns = FALSE
)Arguments
- ctd_data_full
Data frame from
read_cnv_folder_all().- lims_data_full
Data frame from
read_lims_data_all(), or NULL.- chl_stats
Data frame from
load_chl_statistics().- standard_stations
Data frame from
load_standard_stations().- region
Character region name.
- current_year
Integer year.
- force_two_columns
Logical; always use a two-column layout even without LIMS data (right column filled with spacers). Default FALSE.