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

Update GFS_rrtmg_setup.F90 #1036

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions physics/GFS_rrtmg_setup.F90
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ subroutine GFS_rrtmg_setup_init ( si, levr, ictm, isol, solar_file, ico2, &
! Initialize the CCPP error handling variables
errmsg = ''
errflg = 0

if (is_initialized) return

if (do_RRTMGP) then
write(errmsg,'(*(a))') "Logic error: do_RRTMGP must be set to .false."
Expand Down Expand Up @@ -213,6 +211,8 @@ subroutine GFS_rrtmg_setup_init ( si, levr, ictm, isol, solar_file, ico2, &
print *, 'lextop=',lextop, ' ltp=',ltp
endif

if (is_initialized) return

! Call initialization routines
call sol_init ( me, isol, solar_file, con_solr_2008,con_solr_2002,&
con_pi )
Expand Down