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 |
|
|
Passed as the fill method when regridding boundary forcing datasets |
|
|
Specifies the rotation method used when processing boundary segments |
|
|
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 |
|
|
Interpolates and fills SeaWiFS chlorophyll data onto the ocean grid |
|
|
Generates smoothed runoff-to-ocean mapping file names |
|
|
Generates smoothed runoff-to-ocean mapping files |
|
|
Fills missing values in ocean state fields during piecewise regridding |
visualCaseGen#
Imported as from visualCaseGen import ....
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 |