Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Run a coupled biogeochemistry (MARBL) & ocean (MOM6) model

  1. MARBL is part of the CESM

  2. Add MARBL to the compset

  3. Add relevant information to configure_forcingss

  4. See below for an example.

  5. Adding runoff to a BGC example and getting river nutrients requires an offline mapping. Add the GLOFAS runoff mesh as well as the river nutrients (which is on the GLOFAS grid)

from CrocoDash.case import Case
case = Case(
    cesmroot = cesmroot,
    caseroot = caseroot,
    inputdir = inputdir,
    ocn_grid = grid,
    ocn_vgrid = vgrid,
    ocn_topo = topo,
    project = 'NCGD0011',
    override = True,
    machine = "derecho",
    compset = "CR1850MARBL_JRA"
)
case.configure_forcings(
    date_range = ["2000-01-01 00:00:00", "2000-02-01 00:00:00"],
    data_input_path = "", # Path to CESM OUTPUT data
    product_name = "CESM_OUTPUT",
    marbl_ic_filepath = "" # Path to MARBL Global IC File
)

# For River Nutrients, which should be used when runoff is also on, add
#    runoff_esmf_mesh_filepath = "", # For river nutrient mapping 
#    global_river_nutrients_filepath = "", # Path to global river nutrients mapping