Skip to content

Commit

Permalink
Set default values for model_configure variables (#18)
Browse files Browse the repository at this point in the history
RUN_CONTINUE = .false.
 ENS_SPS = .false.
 TOTAL_MEMBER = 1
  • Loading branch information
DusanJovic-NOAA authored and RatkoVasic-NOAA committed Jan 9, 2020
1 parent 22be22b commit e50ac75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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

0 comments on commit e50ac75

Please sign in to comment.