-
Notifications
You must be signed in to change notification settings - Fork 176
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
Update global-workflow scripts for runnng the NG-GODAS application #995
Conversation
parm/config/config.base.emc.dyn parm/config/config.coupled_ic ush/rocoto/setup_expt.py ush/rocoto/setup_workflow_fcstonly.py
…rkflow into add_NG_GODAS
parm/config/config.base.emc.dyn parm/config/config.coupled_ic ush/rocoto/setup_expt.py ush/rocoto/setup_workflow_fcstonly.py
* update parm/config/config.defaults.datm * update ush/rocoto/setup_workflow_fcstonly.py
@@ -23,6 +23,87 @@ common_predet(){ | |||
} | |||
|
|||
DATM_predet(){ | |||
echo "SUB ${FUNCNAME[0]}: Defining variables for datm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How much of this is duplicate code of FV3_GFS_predet()
that could be abstracted out into a separate function that is called for both cases?
@@ -282,7 +282,49 @@ if [ $type = "gfs" ]; then | |||
fi ##end of gfs | |||
#----------------------------------------------------- | |||
|
|||
if [ $ATMTYPE = "DATA" ]; then | |||
if [ $DO_OCN = "YES" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just a duplicate of the other DO_OCN
, etc. blocks for GFS? Instead of duplicating, can we restructure so those sections are used in both cases?
@@ -9,30 +9,26 @@ | |||
## writing model configure file for DATM | |||
## This script is a direct execution. | |||
##### | |||
|
|||
. $EXPDIR/config.defaults.datm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be called here. It was already called in config.base
.
Description
Although a global-workflow branch at https://github.com/binli2337/global-workflow/tree/add_gefs is available for the NG-GODAS team to do testing for the NG-GODAS (cdeps_datm_mom6_cic6) application, it uses previous workflow-generation scripts located in the ush/rocoto directory.
The above branch has been updated to use new workflow-generation scripts located in the workflow directory. The Python script "workflow_tasks.py" has been updated to use correct forcing files. The global-workflow scripts in ush, scripts and parm/config directories have also been updated for running NG-GODAS application.
Fixes #774
Fixes #785
Fixes #838
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist