Skip to contents

This function averages NEMO-MEDUSA monthly summaries into time series for the target boundaries of StrathE2E.

Usage

NM_boundary_summary(
  saved,
  transects,
  vars = c("DIN", "Phytoplankton", "Temperature", "Salinity", "Detritus")
)

Arguments

saved

A dataframe containing a summarised month from NEMO-MEDUSA model outputs.

transects

A dataframe containing the labelled transects along the model domain boundaries.

vars

A character vector containing the column names to be summarised for boundary conditions. Defaults to the tragets for StrathE2E

Value

Details

The function subsets the NEMO-MEDUSA grid according to the transects object provided. Water exchanges between model compartments are totaled. The boundary conditions of the model domain for variables needed by StrathE2E are summarised as a flow-weighted mean, applying the flow rate at each transect.

See also

Other NEMO-MEDUSA averages: NM_decadal_summary(), NM_volume_summary(), decadal(), strip_ice()