MARBL_forcing_mod module reference

This module provides a common datatype to provide forcing for MARBL tracers regardless of driver

Data Types

marbl_forcing_CS

Control structure for this module

Functions/Subroutines

MARBL_forcing_init

convert_driver_fields_to_forcings

Type Documentation

type, public :: marbl_forcing_CS

Control structure for this module

Parameters
  • diag

    A structure that is used to regulate the timing of diagnostic output.

  • dust_ratio_thres

    coarse/fine dust ratio threshold [1]

  • fe_bioavail_frac_offset

    offset for iron bioavailability fraction [1]

  • atm_fe_to_bc_ratio

    atmospheric iron to black carbon ratio [1]

  • seaice_fe_to_bc_ratio

    sea-ice iron to black carbon ratio [1]

  • iron_frac_in_atm_fine_dust

    Fraction of fine dust from the atmosphere that is iron [1]

  • iron_frac_in_atm_coarse_dust

    Fraction of coarse dust from the atmosphere that is iron [1]

  • iron_frac_in_seaice_dust

    Fraction of dust from the sea ice that is iron [1]

  • atm_co2_const

    atmospheric CO2 (if specifying a constant value) [ppm]

  • atm_alt_co2_const

    alternate atmospheric CO2 for _ALT_CO2 tracers (if specifying a constant value) [ppm]

  • use_MARBL_tracers

    most functions can return immediately MARBL tracers are turned off

  • atm_co2_iopt

    Integer version of atm_co2_opt, which determines source of atm_co2

  • atm_alt_co2_iopt

    Integer version of atm_alt_co2_opt, which determines source of atm_alt_co2

Functions/Subroutine Documentation

subroutine MARBL_forcing_init(G, US, param_file, diag, day, inputdir, use_MARBL_tracers, CS)

Parameters
  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters

  • diag [in]

    Structure used to regulate diagnostic output.

  • day [in]

    Time of the start of the run.

  • inputdir [in]

    Directory containing input files

  • use_MARBL_tracers [in]

    Is MARBL tracer package active?

  • CS [inout]

    A pointer that is set to point to control structure for MARBL forcing

Callees call graph
Callees of marbl_forcing_mod::marbl_forcing_init calls cluster_marbl_forcing_mod MARBL_forcing_mod cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser marbl_forcing_mod::marbl_forcing_init MARBL_forcing_init mom_error_handler::mom_error MOM_error marbl_forcing_mod::marbl_forcing_init->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) marbl_forcing_mod::marbl_forcing_init->mom_file_parser::interface::get_param
Text view
Callers call graph
Callers of marbl_forcing_mod::marbl_forcing_init calls cluster_marbl_forcing_mod MARBL_forcing_mod cluster_mom_surface_forcing MOM_surface_forcing marbl_forcing_mod::marbl_forcing_init MARBL_forcing_init mom_surface_forcing::surface_forcing_init surface_forcing_init mom_surface_forcing::surface_forcing_init->marbl_forcing_mod::marbl_forcing_init
Text view

subroutine convert_driver_fields_to_forcings(atm_fine_dust_flux, atm_coarse_dust_flux, seaice_dust_flux, atm_bc_flux, seaice_bc_flux, nhx_dep, noy_dep, atm_co2_prog, atm_co2_diag, afracr, swnet_afracr, ifrac_n, swpen_ifrac_n, Time, G, US, i0, j0, fluxes, CS)

Parameters
  • atm_fine_dust_flux [in]

    atmosphere fine dust flux from IOB [kg m-2 s-1]

  • atm_coarse_dust_flux [in]

    atmosphere coarse dust flux from IOB [kg m-2 s-1]

  • seaice_dust_flux [in]

    sea ice dust flux from IOB [kg m-2 s-1]

  • atm_bc_flux [in]

    atmosphere black carbon flux from IOB [kg m-2 s-1]

  • seaice_bc_flux [in]

    sea ice black carbon flux from IOB [kg m-2 s-1]

  • nhx_dep [in]

    NHx flux from atmosphere [kg m-2 s-1]

  • noy_dep [in]

    NOy flux from atmosphere [kg m-2 s-1]

  • atm_co2_prog [in]

    Prognostic atmospheric CO2 concentration [ppm]

  • atm_co2_diag [in]

    Diagnostic atmospheric CO2 concentration [ppm]

  • afracr [in]

    open ocean fraction [1]

  • swnet_afracr [in]

    shortwave flux * open ocean fraction [W m-2]

  • ifrac_n [in]

    per-category ice fraction [1]

  • swpen_ifrac_n [in]

    per-category shortwave flux * ice fraction [W m-2]

  • Time [in]

    The time of the fluxes, used for interpolating the salinity to the right time, when it is being restored.

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • i0 [in]

    i index offset

  • j0 [in]

    j index offset

  • fluxes [inout]

    MARBL-specific forcing fields

  • CS [inout]

    A pointer that is set to point to control structure for MARBL forcing

  • atm_fe_bioavail_frac

    Fraction of iron from the atmosphere available for biological uptake [1]

  • dust_ratio

    Ratio of coarse to fine dust from the atmosphere [1]

  • seaice_fe_bioavail_frac

    Fraction of iron from sea ice available for biological uptake [1]

    AND cast in MOM6's unique dimensional consistency scaling system [conc Z T-1]

  • iron_flux_conversion

    Factor to convert iron flux from kg m-2 s-1 -> mmol m-3 (m s-1) [s m2 kg-1 conc Z T-1 ~> mmol kg-1]

  • ndep_conversion

    Factor to convert nitrogen deposition from kg m-2 s-1 -> mmol m-3 (m s-1) [s m2 kg-1 conc Z T-1 ~> mmol kg-1]

Callees call graph
Callees of marbl_forcing_mod::convert_driver_fields_to_forcings calls cluster_marbl_forcing_mod MARBL_forcing_mod cluster_mom_error_handler MOM_error_handler marbl_forcing_mod::convert_driver_fields_to_forcings convert_driver_fields_to_forcings mom_error_handler::mom_error MOM_error marbl_forcing_mod::convert_driver_fields_to_forcings->mom_error_handler::mom_error
Text view
Callers call graph
Callers of marbl_forcing_mod::convert_driver_fields_to_forcings calls cluster_marbl_forcing_mod MARBL_forcing_mod cluster_mom_surface_forcing MOM_surface_forcing marbl_forcing_mod::convert_driver_fields_to_forcings convert_driver_fields_to_forcings mom_surface_forcing::marbl_forcing_from_data_override MARBL_forcing_from_data_override [private/internal] mom_surface_forcing::marbl_forcing_from_data_override->marbl_forcing_mod::convert_driver_fields_to_forcings
Text view
API generated with Flint · Rendered from reStructuredText