ROMS simulation settings (runtime)#
Settings in ROMS are now generally supplied at runtime via a namelist file, though many “on-off” switches to features of the code remain controlled at compile time via CPP keys.
The runtime settings/namelist file is provided as an argument to the ROMS executable, e.g.
mpirun -n 64 ./roms my_namelist.nml
An example namelist file is provided at $ROMS_ROOT/src/namelist.nml.
This page contains a description of all the settings in the namelist file. Each section of the namelist file gets a section of the page below including a table of settings covered in that section. For users of the previous ROMS settings system, a “Previous location/name” column is provided.
SIMULATION_NAME_SETTINGS#
(read by module roms_read_write.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
output file prefix (e.g. |
|
|
title used in output metadata |
|
TIME_STEPPING#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Number of time steps in this run |
|
|
Time step (seconds) |
|
|
Mode-splitting ratio. Number of “fast” time-steps (for 2D equations) per “slow” timestep ( |
|
|
Number of steps between runtime diagnostics printed to standard output |
|
GRID_SETTINGS#
(read by module dimensions.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Grid file path (NetCDF) defining model domain |
|
S_COORD#
(read by module scoord.F)
These settings control the vertical sigma co-ordinate system. For more information, see this documentation page.
Setting |
Description |
Previous location/name |
|---|---|---|
|
S-coordinate surface stretching parameter |
|
|
S-coordinate bottom stretching parameter |
|
|
Critical depth (m) controlling vertical stretching transition |
|
PARAM_SETTINGS#
(read by module param.F)
These settings specify the grid size, MPI decomposition, and number of tracers.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Number of MPI processors in XI (~x) direction |
|
|
Number of MPI processors in ETA (~y) direction |
|
|
Number of grid points in XI direction |
|
|
Number of grid points in ETA direction |
|
|
Number of vertical levels |
|
|
Number of passive tracers |
|
|
Number of biogeochemical tracers |
|
INITIAL_CONDITIONS#
(read by module roms_read_write.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Initial conditions NetCDF file path |
|
FORCING_FILES#
(read by module roms_read_write.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Comma-separated list of strings of forcing NetCDF file paths (boundary, surface, river, etc.) |
|
SURF_FRC_SETTINGS#
(read by module bulk_frc.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Interpolate forcing from coarser input grid if .true. |
|
|
Perform a check that input files have expected units if .true. |
|
|
Interpolate forcing from coarser input grid if .true. |
|
RIVER_FRC_SETTINGS#
(read by module river_frc.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable river forcing if |
|
|
Use analytical river forcing if |
|
|
Number of rivers |
|
TIDAL_FRC_SETTINGS#
(read by module tides.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Include barotropic tidal forcing at boundaries if |
|
|
Include surface potential tides if |
|
|
Use analytical tidal forcing if |
|
|
Number of tidal constituents |
|
BASIC_OUTPUT_SETTINGS#
(read by module basic_output.F)
Controls setting specifying the output of the basic physical model state (not including diagnostics, customized fields, or biogeochemistry)
Instantaneous (history) output#
Setting |
Description |
Previous location/name |
|---|---|---|
|
Write instantaneous fields |
|
|
History output interval (s) |
|
|
Records per history file |
|
|
Output sea surface height |
|
|
Output barotropic U velocity |
|
|
Output barotropic V velocity |
|
|
Output 3D U velocity |
|
|
Output 3D V velocity |
|
|
Output density |
|
|
Output vertical velocity |
|
|
Output w velocity |
|
|
Output vertical viscosity |
|
|
Output vertical tracer diffusivity |
|
|
Output salinity diffusivity |
|
|
Output surface boundary layer depth |
|
|
Output bottom boundary layer depth |
|
Averaged output#
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable averaged output |
|
|
Averaging interval (s) |
|
|
Records per average file |
|
|
Averaged versions of fields above |
|
Restart files#
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable restart file output (capturing full model state to be used as initial conditions for subsequent runs) if |
|
|
Output restarts at the beginning of each calendar month if |
|
|
Restart interval (s) (if not |
|
|
Records per restart file |
|
TS_OUTPUT_SETTINGS#
(read by module tracers.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Include temperature in output fields if |
|
|
Include salinity in output fields if |
|
|
Include temperature diagnostics in output fields if |
|
|
Include salinity diagnostics in output fields if |
|
FRC_OUTPUT_SETTINGS#
(read by module frc_output.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Write model forcing fields if |
|
|
Averaged forcing output if |
|
|
Forcing output interval (s) |
|
|
Records per forcing file |
|
EXTRACT_DATA_SETTINGS#
(read by module extract_data.F)
These settings control “data extraction”, typically used for generating boundary conditions for child domains nested within the current simulation.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable nested boundary extraction if |
|
|
Frequency of file creation (s) |
|
|
Records per extraction file |
|
|
Nesting configuration file |
|
|
Vertical levels in child grid |
|
|
Child grid surface stretching parameter |
|
|
Child grid bottom stretching parameter |
|
|
Child grid critical depth |
|
SPONGE_TUNE_SETTINGS#
(read by module sponge_tune.F)
Sponge tuning tunes the sponge values near the boundaries to attempt to match the incoming baroclinic wave flux from the parent.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Tune boundary sponge layer if |
|
|
Filtering timescale (s) |
|
|
Output sponge tuning fields if |
|
|
Sponge tuning output averaged if |
|
|
Number of records per sponge file |
|
|
Output frequency of sponge tuning file (s) |
|
CALC_PFLX_SETTINGS#
(read by module calc_pflx_mod.F)
These settings control the calculation of baroclinic pressure fluxes, e.g. at nested domain boundaries.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable baroclinic pressure flux calculation |
|
|
Timescale for filtering pressure fluxes (s) |
|
ZSLICE_SETTINGS#
(read by module zslice_output.F)
These settings control “Z-slice” output, i.e. the output of certain fields vertically remapped online onto a z-level grid, which may be preferable for analysis over output on sigma co-ordinates.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable z-level output |
|
|
Averaged output (T) or instantaneous (F) |
|
|
Output tracers on z-levels |
|
|
Output zonal velocity |
|
|
Output meridional velocity |
|
|
Z-slice output interval (s) |
|
|
Number of time records per file |
|
|
Number of depth levels on which to remap outputs |
|
|
Depth values for slices ( |
|
|
Number of tracers to write to output |
|
|
Indices of tracers to include |
|
BGC_SETTINGS#
(read by module bgc_shared_vars.opt)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Interpolate forcing from coarser input grid if .true. |
|
|
Write instantaneous BGC tracers to output |
|
|
Frequency of instantaneous BGC output (s) |
|
|
Number of time records per BGC output file |
|
|
Write averaged BGC tracers to output |
|
|
Output frequency/averaging period (s) |
|
|
Number of time records per BGC average file |
|
|
Write instantaneous BGC diagnostics to output |
|
|
Frequency of diagnostics output (s) |
|
|
Number of time records per BGC diagnostics file |
|
|
Write averaged BGC diagnostics to output |
|
|
Frequency/period of averaged diagnostic output |
|
|
Number of time records per BGC diagnostics file |
|
MARBL_BIOGEOCHEMISTRY_SETTINGS#
(read by module marbl_driver.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
MARBL configuration file |
|
|
Comma-separated (string) list of MARBL tracers to include in BGC output |
|
|
Comma-separated (string) list of MARBL diagnostics to include in BGC diagnostics output |
|
|
Desired MARBL timestep (seconds). ROMS solves BGC every |
|
CDR_FRC_SETTINGS#
(read by module cdr_frc.F)
Settings controlling Carbon Dioxide Removal (CDR) experiments using Ocean Alkalinity Enhancement (OAE) perturbations.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Apply CDR perturbation if |
|
|
Path to netCDF file containing CDR perturbation |
|
|
Number of CDR releases (if |
|
|
Number of vertical levels in CDR forcing file |
|
|
Apply CDR forcing from a depth profile if |
|
|
Apply CDR forcing from a fully 3D distribution if |
|
|
Apply CDR forcing from Guassian parameters if |
|
|
Interpolate linearly between CDR forcing records if |
|
|
Relocate CDR perturbation to nearest ocean point if on land |
|
|
Read in volume flux/tracer concentration |
|
CDR_OUTPUT_SETTINGS#
(read by module cdr_output.F)
Write an output file containing CDR-relevant fields.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Write output file for CDR-relevant fields if |
|
|
Write averaged (if |
|
|
Write averaged outputs per calendar month if |
|
|
Frequency of CDR-relevant output |
|
|
Time records per output file |
|
UPSCALING_SETTINGS#
(read by module upscale_output.F)
Settings controlling CDR upscaling, i.e. the recording of CDR-relevant tracer fluxes at the boundaries of the domain, such that a wider domain can be run to capture their further propagation.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Record CDR tracer fluxes at domain boundaries if |
|
|
Number of records per file |
|
|
Output frequency |
|
Note: the previously existing option upscale_output.opt: uscl_prec has been hardcoded to nf90_double in upscale_output.F.
LIN_RHO_EOS_SETTINGS#
(read by module scalars.F)
Linear equation of state parameters, if the NONLIN_EOS cppkey is not defined.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Thermal expansion coefficient (kg/m2/K) |
|
|
Reference temperature (*C) |
|
|
Saline contraction coefficient (kg/m3/psu) |
|
|
Reference salinity (psu) |
|
RHO0_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Boussinesq reference density (kg/m3) |
|
GAMMA2_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Sliperiness parameter (free-slip = +1, no-slip = -1) |
|
TRACER_DIFF2#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
List of horizontal Laplacian diffusion (m2/s) for each tracer |
|
BOTTOM_DRAG_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Linear bottom drag co-efficient (m/s) |
|
|
Quadratic bottom drag co-efficient (dimensionless) |
|
|
Bottom roughness height (m) |
|
VERTICAL_MIXING_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Vertical viscosity (m2/s) |
|
|
List of vertical mixing coefficients (m2/s) for each tracer |
|
LATERAL_VISC_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Horizontal Laplacian kinematic viscosity (m2/s) |
|
UBIND_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Open boundary binding velocity (m/s) |
|
V_SPONGE_SETTINGS#
(read by module scalars.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Maximum viscosity in sponge layer (m2/s) |
|
SSS_CORRECTION#
(read by module surf_flx.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Sea surface salinity correction co-efficient as piston velocity (cm/day) |
|
SST_CORRECTION#
(read by module surf_flx.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Sea surface temperature correction co-efficient as piston velocity (cm/day) |
|
DIAGNOSTICS_SETTINGS#
(read by module diagnostics.F)
Controls output of diagnostics concerning the physical ocean state.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Output physics diagnostics as averages if |
|
|
Output momentum diagnostics |
|
|
Output tracer diagnostics |
|
|
Output frequency (s) |
|
|
Number of records per output file |
|
STDOUT_DIAG_SETTINGS#
(read by module diag_mod.F)
Controls output of diagnostics in model STDOUT
Setting |
Description |
Previous location/name |
|---|---|---|
|
Format standard output diagnostics for code testing |
|
RANDOM_OUTPUT_SETTINGS#
(read by module random_output.F)
Controls output of user-specified custom fields defined in random_output.F
Setting |
Description |
Previous location/name |
|---|---|---|
|
Output user-specified custom output fields if |
|
|
Frequency of custom output (s) |
|
|
Number of records per output file |
|
SURF_FLX_OUTPUT_SETTINGS#
(read by module surf_flx.F)
Controls the output of model surface fluxes.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Output surface momentum flux if |
|
|
Output surface tracer flux if |
|
|
Output surface water flux (P-E) if |
|
|
Output average (if |
|
|
Frequency of surface flux output (s) |
|
|
Number of records per surface flux file |
|
PIPE_FRC_SETTINGS#
(read by module pipe_frc.F)
These settings control “pipe forcing”, i.e. the input of water and tracers at a single-cell inflow point in the surface layer.
Setting |
Description |
Previous location/name |
|---|---|---|
|
Apply “pipe forcing” if |
|
|
Specify pipe locations/properties analytically if |
|
|
Number of pipes |
|
PARTICLES_SETTINGS#
(read by module particles.F)
Setting |
Description |
Previous location/name |
|---|---|---|
|
Enable Lagrangian particle release if |
|
|
Local number of particles |
|
|
Buffer space to receive extra exchanged particles |
|
|
Maximum number of particles for transfer in N-S |
|
|
Maximum number of particles for transfer in E-W |
|
|
Maximum number of particles for transfer in corners |
|
|
Frequency of outputs |
|
|
Number of records per file |
|
|
Target particles per cubic meter |
|
|
Minimum of allocated space for particle array |
|