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

Cherry-pick 0.4.0 release related changes into 1deg_iaf #167

Merged
merged 16 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from 15 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
396 changes: 396 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1,654 changes: 602 additions & 1,052 deletions MOM_input

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions MOM_override
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
! WARNING: DO NOT EDIT this file! Any user change made in this file will be
! overriden. This file is automatically generated. MOM6 parameter
! changes may be made via SourceMods or user_nl_mom.
!-------------------------------------------------------------------------

! NOTE: User made changes to this file override the settings in MOM_input
! This provides a clear record of how your configuration differs from the standard
5 changes: 2 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ input:
- /g/data/vk83/configurations/inputs/access-om3/mom/grids/vertical/global.1deg/2023.07.28/ocean_vgrid.nc
- /g/data/vk83/configurations/inputs/access-om3/mom/initial_conditions/global.1deg/2020.10.22/ocean_temp_salt.res.nc
- /g/data/vk83/configurations/inputs/access-om3/mom/surface_salt_restoring/global.1deg/2020.05.30/salt_sfc_restore.nc
- /g/data/vk83/configurations/inputs/access-om3/cice/grids/global.1deg/2024.05.14/grid.nc
- /g/data/vk83/configurations/inputs/access-om3/cice/grids/global.1deg/2024.05.14/kmt.nc
- /g/data/vk83/configurations/inputs/access-om3/cice/initial_conditions/global.1deg/2023.07.28/iced.1900-01-01-10800.nc
- /g/data/qv56/replicas/input4MIPs/CMIP6/OMIP/MRI/MRI-JRA55-do-1-4-0
Expand All @@ -47,7 +46,7 @@ modules:
use:
- /g/data/vk83/modules
load:
- access-om3/2024.09.0
- access-om3/2025.01.0
- nco/5.0.5

payu_minimum_version: 1.1.4
payu_minimum_version: 1.1.6
2,425 changes: 2,425 additions & 0 deletions docs/MOM_parameter_doc.all

Large diffs are not rendered by default.

88 changes: 88 additions & 0 deletions docs/MOM_parameter_doc.debugging
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
! This file was written by the model and records the debugging parameters used at run-time.

! === module MOM_unit_scaling ===
! Parameters for doing unit scaling of variables.
Z_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! depths and heights. Valid values range from -300 to 300.
L_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! lateral distances. Valid values range from -300 to 300.
T_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! time. Valid values range from -300 to 300.
R_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! density. Valid values range from -300 to 300.
Q_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! heat content. Valid values range from -300 to 300.
C_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! temperature. Valid values range from -300 to 300.
S_RESCALE_POWER = 0 ! default = 0
! An integer power of 2 that is used to rescale the model's internal units of
! salinity. Valid values range from -300 to 300.

! === module MOM ===
VERBOSITY = 2 ! default = 2
! Integer controlling level of messaging
! 0 = Only FATAL messages
! 2 = Only FATAL, WARNING, NOTE [default]
! 9 = All)
DO_UNIT_TESTS = False ! [Boolean] default = False
! If True, exercises unit tests at model start up.
DEBUG = False ! [Boolean] default = False
! If true, write out verbose debugging data.
DEBUG_TRUNCATIONS = False ! [Boolean] default = False
! If true, calculate all diagnostics that are useful for debugging truncations.
ROTATE_INDEX = False ! [Boolean] default = False
! Enable rotation of the horizontal indices.
DEBUG_CHKSUMS = False ! [Boolean] default = False
! If true, checksums are performed on arrays in the various vec_chksum routines.
DEBUG_REDUNDANT = False ! [Boolean] default = False
! If true, debug redundant data points during calls to the various vec_chksum
! routines.

! === module MOM_verticalGrid ===
! Parameters providing information about the vertical grid.
H_RESCALE_POWER = 0 ! [nondim] default = 0
! An integer power of 2 that is used to rescale the model's intenal units of
! thickness. Valid values range from -300 to 300.

! === module MOM_vert_friction ===
U_TRUNC_FILE = "U_velocity_truncations" ! default = ""
! The absolute path to a file into which the accelerations leading to zonal
! velocity truncations are written. Undefine this for efficiency if this
! diagnostic is not needed.
V_TRUNC_FILE = "V_velocity_truncations" ! default = ""
! The absolute path to a file into which the accelerations leading to meridional
! velocity truncations are written. Undefine this for efficiency if this
! diagnostic is not needed.

! === module MOM_PointAccel ===
MAX_TRUNC_FILE_SIZE_PER_PE = 50 ! default = 50
! The maximum number of columns of truncations that any PE will write out during
! a run.
DEBUG_FULL_COLUMN = False ! [Boolean] default = False
! If true, write out the accelerations in all massive layers; otherwise just
! document the ones with large velocities.

! === module MOM_barotropic ===
DEBUG_BT = False ! [Boolean] default = False
! If true, write out verbose debugging data within the barotropic time-stepping
! loop. The data volume can be quite large if this is true.

! === module MOM_diabatic_driver ===
! The following parameters are used for diabatic processes.
DEBUG_CONSERVATION = False ! [Boolean] default = False
! If true, monitor conservation and extrema.
WRITE_TRACER_MIN_MAX = False ! [Boolean] default = False
! If true, write the maximum and minimum values of temperature, salinity and
! some tracer concentrations to stdout when the energy files are written.

! === module MOM_file_parser ===
REPORT_UNUSED_PARAMS = True ! [Boolean] default = True
! If true, report any parameter lines that are not used in the run.
FATAL_UNUSED_PARAMS = True ! [Boolean] default = False
! If true, kill the run if there are any unused parameters.
73 changes: 73 additions & 0 deletions docs/MOM_parameter_doc.layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
! This file was written by the model and records the layout parameters used at run-time.

! === module MOM ===
GLOBAL_INDEXING = False ! [Boolean] default = False
! If true, use a global lateral indexing convention, so that corresponding
! points on different processors have the same index. This does not work with
! static memory.

! === module MOM_domains ===
!SYMMETRIC_MEMORY_ = True ! [Boolean]
! If defined, the velocity point data domain includes every face of the
! thickness points. In other words, some arrays are larger than others,
! depending on where they are on the staggered grid. Also, the starting index
! of the velocity-point arrays is usually 0, not 1. This can only be set at
! compile time.
NONBLOCKING_UPDATES = False ! [Boolean] default = False
! If true, non-blocking halo updates may be used.
THIN_HALO_UPDATES = True ! [Boolean] default = True
! If true, optional arguments may be used to specify the width of the halos that
! are updated with each call.
!STATIC_MEMORY_ = False ! [Boolean]
! If STATIC_MEMORY_ is defined, the principle variables will have sizes that are
! statically determined at compile time. Otherwise the sizes are not determined
! until run time. The STATIC option is substantially faster, but does not allow
! the PE count to be changed at run time. This can only be set at compile time.
AUTO_MASKTABLE = True ! [Boolean] default = False
! Turn on automatic mask table generation to eliminate land blocks.
MASKTABLE = "MOM_auto_mask_table" ! default = "MOM_mask_table"
! A text file to specify n_mask, layout and mask_list. This feature masks out
! processors that contain only land points. The first line of mask_table is the
! number of regions to be masked out. The second line is the layout of the model
! and must be consistent with the actual model layout. The following (n_mask)
! lines give the logical positions of the processors that are masked out. The
! mask_table can be created by tools like check_mask. The following example of
! mask_table masks out 2 processors, (1,2) and (3,6), out of the 24 in a 4x6
! layout:
! 2
! 4,6
! 1,2
! 3,6
NIPROC = 17 !
! The number of processors in the x-direction. With STATIC_MEMORY_ this is set
! in MOM_memory.h at compile time.
NJPROC = 14 !
! The number of processors in the y-direction. With STATIC_MEMORY_ this is set
! in MOM_memory.h at compile time.
LAYOUT = 17, 14 !
! The processor layout that was actually used.
AUTO_IO_LAYOUT_FAC = 0 ! default = 0
! When AUTO_MASKTABLE is enabled, io layout is calculated by performing integer
! division of the runtime-determined domain layout with this factor. If the
! factor is set to 0 (default), the io layout is set to 1,1.
IO_LAYOUT = 1, 1 !
! The processor layout to be used, or 0,0 to automatically set the io_layout to
! be the same as the layout.

! === module MOM_grid ===
! Parameters providing information about the lateral grid.
NIBLOCK = 1 ! default = 1
! The number of blocks in the x-direction on each processor (for openmp).
NJBLOCK = 1 ! default = 1
! The number of blocks in the y-direction on each processor (for openmp).

! === module MOM_barotropic ===
BT_USE_WIDE_HALOS = True ! [Boolean] default = True
! If true, use wide halos and march in during the barotropic time stepping for
! efficiency.
BTHALO = 0 ! default = 0
! The minimum halo size for the barotropic solver.
!BT x-halo = 4 !
! The barotropic x-halo size that is actually used.
!BT y-halo = 4 !
! The barotropic y-halo size that is actually used.
Loading
Loading