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

Set default values for model_configure variables #18

Merged
merged 1 commit into from
Jan 9, 2020
Merged
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
1 change: 1 addition & 0 deletions src/MAIN_NEMS.F90
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ PROGRAM MAIN_NEMS
CALL ESMF_ConfigGetAttribute(config = CF_MAIN &
,value = RUN_CONTINUE &
,label = 'RUN_CONTINUE:' &
,default= .false. &
,rc = RC)
ESMF_ERR_ABORT(RC)
! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Expand Down
2 changes: 2 additions & 0 deletions src/module_NEMS_GRID_COMP.F90
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ SUBROUTINE NEMS_INITIALIZE(NEMS_GRID_COMP &
,value = ENS_SPS & !<-- Value of control flag for
! stochastic perturbation scheme
,label = 'ENS_SPS:' & !<-- Flag's label in configure file
,default= .false. &
,rc = RC)
ESMF_ERR_RETURN(RC,RC_INIT)
!
Expand Down Expand Up @@ -368,6 +369,7 @@ SUBROUTINE NEMS_INITIALIZE(NEMS_GRID_COMP &
CALL ESMF_ConfigGetAttribute(config = CF_NEMS & !<-- The NEMS configure object
,value = TOTAL_MEMBER & !<-- Total # of ensemble members
,label = 'total_member:' & !<-- Flag in configure file
,default= 1 &
,rc = RC)
ESMF_ERR_RETURN(RC,RC_INIT)
!
Expand Down