Skip to content
Open
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
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
branch = develop
[submodule "ccpp-physics"]
path = ccpp/physics
url = https://github.com/NCAR/ccpp-physics
branch = scm/dev
# url = https://github.com/NCAR/ccpp-physics
# branch = scm/dev
url = https://github.com/scrasmussen/ccpp-physics
branch = ufs-dev-PR337
[submodule "CMakeModules"]
path = CMakeModules
url = https://github.com/noaa-emc/CMakeModules
Expand Down
2 changes: 0 additions & 2 deletions ccpp/config/ccpp_prebuild_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@
'ccpp/physics/physics/MP/TEMPO/mp_tempo_pre.F90',
'ccpp/physics/physics/MP/TEMPO/mp_tempo.F90',
'ccpp/physics/physics/MP/TEMPO/mp_tempo_post.F90',
'ccpp/physics/physics/MP/Zhao_Carr/zhaocarr_gscond.f',
'ccpp/physics/physics/MP/Zhao_Carr/zhaocarr_precpd.f',
'ccpp/physics/physics/PBL/HEDMF/hedmf.f',
'ccpp/physics/physics/PBL/SHOC/moninshoc.f',
'ccpp/physics/physics/PBL/SHOC/shoc.F90',
Expand Down
2 changes: 1 addition & 1 deletion ccpp/physics
Submodule physics updated 31 files
+184 −1 CODEOWNERS
+2 −5 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_PBL_generic_common.F90
+3 −11 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_PBL_generic_post.F90
+0 −7 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_PBL_generic_post.meta
+3 −13 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_PBL_generic_pre.F90
+0 −7 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_PBL_generic_pre.meta
+2 −13 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rad_time_vary.fv3.F90
+0 −7 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rad_time_vary.fv3.meta
+2 −13 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rad_time_vary.scm.F90
+0 −7 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rad_time_vary.scm.meta
+4 −14 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmg_pre.F90
+0 −14 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmg_pre.meta
+12 −55 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmgp_cloud_mp.F90
+21 −23 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmgp_setup.F90
+0 −14 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmgp_setup.meta
+2 −16 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_suite_interstitial_3.F90
+0 −14 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_suite_interstitial_3.meta
+8 −15 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_suite_interstitial_4.F90
+1 −15 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_suite_interstitial_4.meta
+0 −530 physics/MP/Zhao_Carr/zhaocarr_gscond.f
+0 −300 physics/MP/Zhao_Carr/zhaocarr_gscond.meta
+0 −741 physics/MP/Zhao_Carr/zhaocarr_precpd.f
+0 −270 physics/MP/Zhao_Carr/zhaocarr_precpd.meta
+1,576 −0 physics/PBL/SATMEDMF/canopy_driver.F
+951 −0 physics/PBL/SATMEDMF/canopy_driver.meta
+1,285 −0 physics/PBL/SATMEDMF/canopy_levs.F90
+101 −0 physics/PBL/SATMEDMF/canopy_mask.F90
+786 −0 physics/PBL/SATMEDMF/canopy_transfer.F90
+53 −78 physics/PBL/SATMEDMF/satmedmfvdifq.F
+2,904 −0 physics/PBL/SATMEDMF/satmedmfvdifq_can.F
+198 −899 physics/Radiation/radiation_clouds.f
10 changes: 3 additions & 7 deletions scm/src/CCPP_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ subroutine gfs_interstitial_destroy (Interstitial, Model)
deallocate (Interstitial%t2mmp)
deallocate (Interstitial%q2mp)
end if

end subroutine gfs_interstitial_destroy

subroutine gfs_interstitial_setup_tracers(Interstitial, Model)
Expand Down Expand Up @@ -1209,16 +1209,12 @@ subroutine gfs_interstitial_setup_tracers(Interstitial, Model)
Interstitial%ntcwx = 2
Interstitial%ntiwx = 3
Interstitial%ntrwx = 4
elseif (Model%imp_physics == Model%imp_physics_zhao_carr) then
Interstitial%ntcwx = 2
endif
endif

if (Model%cplchm) then
! Only the following microphysics schemes are supported with coupled chemistry
if (Model%imp_physics == Model%imp_physics_zhao_carr) then
Interstitial%nvdiff = 3
elseif (Model%imp_physics == Model%imp_physics_mg) then
if (Model%imp_physics == Model%imp_physics_mg) then
if (Model%ntgl > 0) then
Interstitial%nvdiff = 12
else
Expand Down Expand Up @@ -1670,7 +1666,7 @@ subroutine gfs_interstitial_reset (Interstitial, Model)
! Use same logic in UFS to reset Thompson extended diagnostics
Interstitial%ext_diag_thompson_reset = Interstitial%max_hourly_reset

! Frequency flag for computing the full radar reflectivity (water coated ice)
! Frequency flag for computing the full radar reflectivity (water coated ice)
if (Model%nsfullradar_diag<0) then
Interstitial%fullradar_diag = .true.
else
Expand Down
38 changes: 2 additions & 36 deletions scm/src/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,6 @@ module GFS_typedefs
integer :: imp_physics_thompson = 8 !< choice of Thompson microphysics scheme
integer :: imp_physics_tempo = 88 !< choice of TEMPO microphysics scheme
integer :: imp_physics_wsm6 = 6 !< choice of WSMG microphysics scheme
integer :: imp_physics_zhao_carr = 99 !< choice of Zhao-Carr microphysics scheme
integer :: imp_physics_zhao_carr_pdf = 98 !< choice of Zhao-Carr microphysics scheme with PDF clouds
integer :: imp_physics_mg = 10 !< choice of Morrison-Gettelman microphysics scheme
integer :: imp_physics_fer_hires = 15 !< choice of Ferrier-Aligo microphysics scheme
integer :: imp_physics_nssl = 17 !< choice of NSSL microphysics scheme with background CCN
Expand Down Expand Up @@ -4980,7 +4978,6 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, &
Model%effr_in = effr_in
! turn off ICCN interpolation when MG2/3 are not used
if (.not. Model%imp_physics==Model%imp_physics_mg) Model%iccn = 0
!--- Zhao-Carr MP parameters
Model%psautco = psautco
Model%prautco = prautco
Model%evpco = evpco
Expand Down Expand Up @@ -6410,30 +6407,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, &
Model%nps2delt = -999
Model%npsdelt = -999
Model%ncnd = nwat - 1 ! ncnd is the number of cloud condensate types
if (Model%imp_physics == Model%imp_physics_zhao_carr) then
Model%npdf3d = 0
Model%num_p3d = 4
Model%num_p2d = 3
Model%shcnvcw = .false.
Model%nT2delt = 1
Model%nqv2delt = 2
Model%nTdelt = 3
Model%nqvdelt = 4
Model%nps2delt = 1
Model%npsdelt = 2
if (nwat /= 2) then
print *,' Zhao-Carr MP requires nwat to be set to 2 - job aborted'
error stop
end if
if (Model%me == Model%master) print *,' Using Zhao/Carr/Sundqvist Microphysics'

elseif (Model%imp_physics == Model%imp_physics_zhao_carr_pdf) then !Zhao Microphysics with PDF cloud
Model%npdf3d = 3
Model%num_p3d = 4
Model%num_p2d = 3
if (Model%me == Model%master) print *,'Using Zhao/Carr/Sundqvist Microphysics with PDF Cloud'

else if (Model%imp_physics == Model%imp_physics_fer_hires) then ! Ferrier-Aligo scheme
if (Model%imp_physics == Model%imp_physics_fer_hires) then ! Ferrier-Aligo scheme
Model%npdf3d = 0
Model%num_p3d = 3
Model%num_p2d = 1
Expand Down Expand Up @@ -6682,7 +6656,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, &
Model%xr_con = xr_con
Model%xr_exp = xr_exp
else ! values have not been read in from namelist and should be set according to logic in radiation_clouds.f
if (Model%imp_physics == Model%imp_physics_zhao_carr .or. Model%imp_physics == Model%imp_physics_mg .or. Model%imp_physics == Model%imp_physics_fer_hires) then
if (Model%imp_physics == Model%imp_physics_mg .or. Model%imp_physics == Model%imp_physics_fer_hires) then
if (.not. Model%lmfshal) then
!calls cloud_fraction_XuRandall()
Model%xr_con = 2000.0
Expand Down Expand Up @@ -7102,14 +7076,6 @@ subroutine control_print(Model)
print *, ' imp_physics : ', Model%imp_physics
print *, ' '

if (Model%imp_physics == Model%imp_physics_zhao_carr .or. Model%imp_physics == Model%imp_physics_zhao_carr_pdf) then
print *, ' Z-C microphysical parameters'
print *, ' psautco : ', Model%psautco
print *, ' prautco : ', Model%prautco
print *, ' evpco : ', Model%evpco
print *, ' wminco : ', Model%wminco
print *, ' '
endif
if ((Model%imp_physics == Model%imp_physics_wsm6) .or. (Model%imp_physics == Model%imp_physics_thompson) .or. &
(Model%imp_physics == Model%imp_physics_tempo)) then
print *, ' Thompson microphysical parameters'
Expand Down
12 changes: 0 additions & 12 deletions scm/src/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -4560,18 +4560,6 @@
units = flag
dimensions = ()
type = integer
[imp_physics_zhao_carr]
standard_name = identifier_for_zhao_carr_microphysics_scheme
long_name = choice of Zhao-Carr microphysics scheme
units = flag
dimensions = ()
type = integer
[imp_physics_zhao_carr_pdf]
standard_name = identifier_for_zhao_carr_pdf_microphysics_scheme
long_name = choice of Zhao-Carr microphysics scheme with PDF clouds
units = flag
dimensions = ()
type = integer
[imp_physics_mg]
standard_name = identifier_for_morrison_gettelman_microphysics_scheme
long_name = choice of Morrison-Gettelman microphysics scheme
Expand Down
Loading