From ed787df6b92787078a0e53dc9ed95747a382d9ce Mon Sep 17 00:00:00 2001 From: minghangli-uni Date: Fri, 21 Jun 2024 16:05:08 +1000 Subject: [PATCH] Add both ZSTAR and rho2 in DIAG_COORDS --- MOM_input | 11 ++++++++++- docs/MOM_parameter_doc.all | 8 +++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/MOM_input b/MOM_input index 04ca7fd..65438b2 100644 --- a/MOM_input +++ b/MOM_input @@ -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 diff --git a/docs/MOM_parameter_doc.all b/docs/MOM_parameter_doc.all index 5e8d164..f385980 100644 --- a/docs/MOM_parameter_doc.all +++ b/docs/MOM_parameter_doc.all @@ -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". @@ -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