-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate ocean, ice and wave task info into config.ufs (#1334)
config.fv3 is now renamed as config.ufs and contains ocean, ice, and wave task information * config.fv3 is used to record FV3 and write grid component task decomposition based on resolution. * Ocean (MOM6) and Ice (CICE6) decomposition, tasks and timesteps are added to config.ufs. * Updates are made to config.fcst and config.efcs to source config.ufs based on the configuration of the (coupled) model. * Several configurations were made deep in parsing_namelists_MOM.sh, which have now been elevated to config.ocn * Some improvements are made to limit the export of variables from functions in nems_configure.sh. * This will help with the ESMF threading work as it breaks down the work into multiple steps.
- Loading branch information
Showing
15 changed files
with
654 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
#! /usr/bin/env bash | ||
|
||
case "${ICERES}" in | ||
"025") | ||
export NX_GLB="1440" | ||
export NY_GLB="1080" | ||
;; | ||
"500") | ||
export NX_GLB="72" | ||
export NY_GLB="35" | ||
export cice_processor_shape="slenderX1" | ||
;; | ||
*) | ||
echo "FATAL ERROR: Unsupported ICERES = ${ICERES}, ABORT!" | ||
exit 1 | ||
;; | ||
esac | ||
echo "BEGIN: config.ice" | ||
|
||
echo "END: config.ice" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
#! /usr/bin/env bash | ||
|
||
# OCNRES is currently being set in config.base | ||
case "$CASE" in | ||
"C48") export OCNTIM=3600;; | ||
*) export OCNTIM=1800;; | ||
esac | ||
echo "BEGIN: config.ocn" | ||
|
||
# MOM_input template to use | ||
export MOM_INPUT="MOM_input_template_${OCNRES}" | ||
|
||
export DO_OCN_SPPT="NO" # In MOM_input, this variable is determines OCN_SPPT (OCN_SPPT = True|False) | ||
export DO_OCN_PERT_EPBL="NO" # In MOM_input, this variable determines PERT_EPBL (PERT_EPBL = True|False) | ||
|
||
# Templated variables in MOM_input_template | ||
export MOM6_USE_LI2016="True" # set to False for restart reproducibility | ||
export MOM6_THERMO_SPAN="False" | ||
export MOM6_ALLOW_LANDMASK_CHANGES="False" | ||
|
||
if [[ "${DO_JEDIOCNVAR}" == "YES" ]]; then | ||
export ODA_INCUPD="True" | ||
else | ||
export ODA_INCUPD="False" | ||
fi | ||
export ODA_INCUPD_NHOURS="3.0" # In MOM_input, this is time interval for applying increment | ||
|
||
echo "END: config.ocn" |
Oops, something went wrong.