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

UFS-dev-PR9 #75

Merged
merged 4 commits into from
Dec 14, 2022
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
14 changes: 12 additions & 2 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,9 @@ module GFS_typedefs
real(kind_phys) :: lfnc_k !< Logistic function transition depth (Pa)
real(kind_phys) :: lfnc_p0 !< Logistic function transition level (Pa)
logical :: doGP_lwscat !< If true, include scattering in longwave cloud-optics, only compatible w/ GP cloud-optics
logical :: doGP_sgs_cnv !< If true, include SubGridScale convective cloud in RRTMGP
logical :: doGP_sgs_mynn !< If true, include SubGridScale MYNN-EDMF cloud in RRTMGP
logical :: doGP_sgs_cnv !< If true, include explicit SubGridScale convective cloud in RRTMGP
logical :: doGP_sgs_mynn !< If true, include explicit SubGridScale MYNN-EDMF cloud in RRTMGP
logical :: doGP_smearclds !< If true, include implicit SubGridScale clouds in RRTMGP
real(kind_phys) :: minGPpres !< Minimum pressure allowed in RRTMGP.
real(kind_phys) :: maxGPpres !< Maximum pressure allowed in RRTMGP.
real(kind_phys) :: minGPtemp !< Minimum temperature allowed in RRTMGP.
Expand Down Expand Up @@ -3027,6 +3028,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
logical :: doGP_lwscat = .false. !< If true, include scattering in longwave cloud-optics, only compatible w/ GP cloud-optics
logical :: doGP_sgs_cnv = .false. !< If true, include SubGridScale convective cloud in RRTMGP
logical :: doGP_sgs_mynn = .false. !< If true, include SubGridScale MYNN-EDMF cloud in RRTMGP
logical :: doGP_smearclds = .true. !< If true, include implicit SubGridScale clouds in RRTMGP
!--- Z-C microphysical parameters
integer :: imp_physics = 99 !< choice of cloud scheme
real(kind=kind_phys) :: psautco(2) = (/6.0d-4,3.0d-4/) !< [in] auto conversion coeff from ice to snow
Expand Down Expand Up @@ -3947,6 +3949,13 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
write(0,*) "Logic error, RRTMGP flag doGP_sgs_mynn only works with do_mynnedmf=.true."
stop
endif
if (Model%doGP_sgs_cnv .or. Model%doGP_sgs_mynn) then
write(0,*) "RRTMGP explicit cloud scheme being used."
Model%doGP_smearclds = .false.
else
write(0,*) "RRTMGP implicit cloud scheme being used."
endif

if (Model%doGP_cldoptics_PADE .and. Model%doGP_cldoptics_LUT) then
write(0,*) "Logic error, Both RRTMGP cloud-optics options cannot be selected. "
stop
Expand Down Expand Up @@ -5809,6 +5818,7 @@ subroutine control_print(Model)
print *, ' doGP_lwscat : ', Model%doGP_lwscat
print *, ' doGP_sgs_cnv : ', Model%doGP_sgs_cnv
print *, ' doGP_sgs_mynn : ', Model%doGP_sgs_cnv
print *, ' doGP_smearclds : ', Model%doGP_smearclds
print *, ' iovr_convcld : ', Model%iovr_convcld
endif
print *, ' '
Expand Down
6 changes: 6 additions & 0 deletions ccpp/data/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -3445,6 +3445,12 @@
units = flag
dimensions = ()
type = logical
[doGP_smearclds]
standard_name = flag_for_implicit_sgs_cloud_in_RRTMGP
long_name = logical flag to impicit SGS cloud in RRTMGP
units = flag
dimensions = ()
type = logical
[iovr_convcld]
standard_name = flag_for_convective_cloud_overlap_method_for_radiation
long_name = flag for convective cloud overlap method
Expand Down
2 changes: 1 addition & 1 deletion ccpp/physics