Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.25deg] Add both ZSTAR and rho2 in DIAG_COORDS #79

Draft
wants to merge 1 commit into
base: dev-025deg_jra55do_ryf
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,16 @@ TEMP_SALT_INIT_VERTICAL_REMAP_ONLY = True ! [Boolean] default = False
! remapping .

! === module MOM_diag_mediator ===
DIAG_COORD_DEF_Z = "FILE:ocean_vgrid.nc,interfaces=zeta" ! default = "WOA09"
NUM_DIAG_COORDS = 2 ! default = 1
! The number of diagnostic vertical coordinates to use. For each coordinate, an
! entry in DIAG_COORDS must be provided.
DIAG_COORDS = "z 01 ZSTAR", "rho2 02 RHO" ! default = "z Z ZSTAR"
! A list of string tuples associating diag_table modules to a coordinate
! definition used for diagnostics. Each string is of the form "MODULE_SUFFIX
! PARAMETER_SUFFIX COORDINATE_NAME".
DIAG_COORD_DEF_01 = "FILE:ocean_vgrid.nc,interfaces=zeta"
DIAG_COORD_DEF_02 = "FILE:diag_rho2.nc,interfaces=rho2"
! default = "WOA09"
! Determines how to specify the coordinate resolution. Valid options are:
! PARAM - use the vector-parameter DIAG_COORD_RES_Z
! UNIFORM[:N] - uniformly distributed
Expand Down
8 changes: 5 additions & 3 deletions docs/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -653,12 +653,12 @@ SPONGE = False ! [Boolean] default = False
! properties of those sponges are specified via SPONGE_CONFIG.

! === module MOM_diag_mediator ===
NUM_DIAG_COORDS = 1 ! default = 1
NUM_DIAG_COORDS = 2 ! default = 1
! The number of diagnostic vertical coordinates to use. For each coordinate, an
! entry in DIAG_COORDS must be provided.
USE_GRID_SPACE_DIAGNOSTIC_AXES = False ! [Boolean] default = False
! If true, use a grid index coordinate convention for diagnostic axes.
DIAG_COORDS = "z Z ZSTAR" ! default = "z Z ZSTAR"
DIAG_COORDS = "z 01 ZSTAR", "rho2 02 RHO" ! default = "z Z ZSTAR"
! A list of string tuples associating diag_table modules to a coordinate
! definition used for diagnostics. Each string is of the form "MODULE_SUFFIX
! PARAMETER_SUFFIX COORDINATE_NAME".
Expand All @@ -670,7 +670,9 @@ DIAG_AS_CHKSUM = False ! [Boolean] default = False
AVAILABLE_DIAGS_FILE = "available_diags.000000" ! default = "available_diags.000000"
! A file into which to write a list of all available ocean diagnostics that can
! be included in a diag_table.
DIAG_COORD_DEF_Z = "FILE:ocean_vgrid.nc,interfaces=zeta" ! default = "WOA09"
DIAG_COORD_DEF_01 = "FILE:ocean_vgrid.nc,interfaces=zeta"
DIAG_COORD_DEF_02 = "FILE:diag_rho2.nc,interfaces=rho2"
! default = "WOA09"
! Determines how to specify the coordinate resolution. Valid options are:
! PARAM - use the vector-parameter DIAG_COORD_RES_Z
! UNIFORM[:N] - uniformly distributed
Expand Down