How doi-usgs/coawst works
COAWST is a coupled coastal modeling system built around ROMS, with atmospheric and wave-model components and supporting preprocessing tools. The principal workflow is to configure a simulation, initialize its component models, exchange fields through a coupling layer, and compute coupled ocean–atmosphere–wave behavior. ROMS also contains nonlinear, tangent-linear, adjoint, and representer model stages. The README documents the component set and selected coupling capabilities; sampled source confirms parts of the ROMS and coupling implementation, but not the full runtime wiring, so uncertain links are omitted or dashed.
Main entry points: cmeps_roms.h CMEPS ROMS cap · WPS WPS preprocessing · step2d_LF_AM3.h Nonlinear dynamics · cppdefs.h ROMS configuration
Components 17
Configuration and preprocessing
Coupling and drivers
- CMEPS ROMS cap
Master/cmeps_roms.h - WRF atmosphere
WRF
ROMS ocean model
- ROMS configuration
ROMS/Include/cppdefs.h - Grid and shared state
ROMS/Include/globaldefs.h - Tile bounds
ROMS/Include/set_bounds.h - Tile execution
ROMS/Include/tile.h - Nonlinear dynamics
ROMS/Nonlinear/step2d_LF_AM3.h - Tangent model
ROMS/Tangent/tl_step2d_LF_AM3.h - Adjoint model
ROMS/Adjoint/ad_uv3dmix4_geo.h - Representer model
ROMS/Representer/rp_step2d_LF_AM3.h - Analytic inputs
ROMS/Functionals
Wave models
- SWAN waves
SWAN/src - WW3 waves
WW3/model/src - InWave
InWave/Include/inwave.h
Other components
- Model user
- Coupled simulation
Connections 14
- Model user → WPS preprocessing: prepares inputs
- WPS preprocessing → CMEPS ROMS cap: supplies fields
- Model user → CMEPS ROMS cap: configures run
- CMEPS ROMS cap → Nonlinear dynamics: couples ROMS
- CMEPS ROMS cap → WRF atmosphere: couples atmosphere
- CMEPS ROMS cap → SWAN waves: couples waves
- CMEPS ROMS cap → WW3 waves: couples waves
- CMEPS ROMS cap → InWave: couples waves
- ROMS configuration → Grid and shared state: selects options
ROMS/Include/cppdefs.h - Nonlinear dynamics → Coupled simulation: computes dynamics
- Tangent model → Coupled simulation: computes sensitivities
- Adjoint model → Coupled simulation: computes adjoints
- Representer model → Coupled simulation: computes representer
- CMEPS ROMS cap → Coupled simulation: coordinates run