Submodule API Usage#
CrocoDash depends on three submodules — regional-mom6, mom6_forge, and visualCaseGen — which are developed and versioned independently. This page records exactly which functions and classes from each submodule CrocoDash calls. The purpose is to give developers a clear reference when those upstream repos change: if a function listed here is renamed, removed, or has its signature altered, CrocoDash will break. Keeping this record up to date makes it easy to catch those breaking changes before they land.
regional-mom6#
Imported as import regional_mom6 as rmom6 / rm6.
Function / Class |
Called in |
What CrocoDash uses it for |
|---|---|---|
|
|
Constructs the main MOM6 experiment object with grid, date range, and depth parameters |
|
|
Creates a minimal experiment shell when a full experiment object is not needed |
|
|
Generates tidal boundary conditions from tidal elevation and transport data |
|
|
Creates a boundary segment object for regridding ocean state forcings |
|
|
Most important function for regridding OBCs |
|
|
Cached regridder weights, read back out and fed to the next chunk via |
|
|
Passed as the fill method when regridding boundary forcing datasets |
|
|
Interpolates and fills SeaWiFS chlorophyll data onto the ocean grid |
|
|
Downloads GLORYS ocean reanalysis data for use as initial/boundary conditions |
mom6_forge#
Imported as from mom6_forge import ... / import mom6_forge as m6b.
Function / Class |
Called in |
What CrocoDash uses it for |
|---|---|---|
|
|
Re-exported directly — CrocoDash exposes mom6_forge’s horizontal grid class as its own |
|
|
Re-exported directly — CrocoDash exposes mom6_forge’s bathymetry class as its own |
|
|
Re-exported directly — CrocoDash exposes mom6_forge’s vertical grid class as its own |
|
|
Re-exported directly — interactive grid creation widget |
|
|
Re-exported directly — interactive bathymetry editing widget |
|
|
Re-exported directly — interactive vertical grid creation widget |
|
|
Writes the MOM6 supergrid file |
|
|
Writes the MOM6 vertical grid file |
|
|
Writes the MOM6 topography, SCRIP grid, and ESMF mesh files CESM needs |
|
|
Writes the CICE grid file when CICE is in the compset |
|
|
Writes WW3’s grid-preprocessor |
|
|
Derives |
|
|
Generates smoothed runoff-to-ocean mapping file names |
|
|
Generates the smoothed runoff-to-ocean mapping files |
|
|
Fills missing values in ocean state fields during regridding |
|
|
Slices a global dataset across the antimeridian for the requested bounding box |
visualCaseGen#
Imported as from visualCaseGen import .... CrocoDash also reaches into
ProConPy, visualCaseGen’s constraint-solver layer.
Function / Class |
Called in |
What CrocoDash uses it for |
|---|---|---|
|
|
Initialises the visualCaseGen GUI and CIME interface at case setup time |
|
|
Class that drives interactive CESM case creation |
|
|
Status enums used to check and reset the CaseCreator widget state |
|
|
Applies |
|
|
Appends entries to CESM |
|
|
Reads and sets visualCaseGen config variables (compset, grid, |
|
|
Advances visualCaseGen through its configuration stages |
|
|
Caught to turn solver constraint failures into CrocoDash-level errors |