Skip to content

Commit

Permalink
Merge pull request NCAR#313 from climbfuji/gmtb_develop_update_from_m…
Browse files Browse the repository at this point in the history
…aster_20190830

gmtb/develop: add CCPP changes for IPD physics changes from EMC master 2019/08/30
  • Loading branch information
climbfuji authored Sep 3, 2019
2 parents d858b98 + bd616c3 commit 6abba22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions physics/GFS_time_vary_pre.fv3.F90
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ subroutine GFS_time_vary_pre_run (Model, errmsg, errflg)
!--- radiation triggers
Model%lsswr = (mod(Model%kdt, Model%nsswr) == 1)
Model%lslwr = (mod(Model%kdt, Model%nslwr) == 1)
!--- allow for radiation to be called on every physics time step, if needed
if (Model%nsswr == 1) Model%lsswr = .true.
if (Model%nslwr == 1) Model%lslwr = .true.

!--- set the solar hour based on a combination of phour and time initial hour
Model%solhr = mod(Model%phour+Model%idate(1),con_24)
Expand Down
3 changes: 3 additions & 0 deletions physics/GFS_time_vary_pre.scm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ subroutine GFS_time_vary_pre_run (Model, errmsg, errflg)
!--- radiation triggers
Model%lsswr = (mod(Model%kdt, Model%nsswr) == 1)
Model%lslwr = (mod(Model%kdt, Model%nslwr) == 1)
!--- allow for radiation to be called on every physics time step, if needed
if (Model%nsswr == 1) Model%lsswr = .true.
if (Model%nslwr == 1) Model%lslwr = .true.

!--- set the solar hour based on a combination of phour and time initial hour
Model%solhr = mod(Model%phour+Model%idate(1),con_24)
Expand Down

0 comments on commit 6abba22

Please sign in to comment.