Skip to content

Commit 281e4aa

Browse files
committed
Merge branch 'main' into add_ntiedtke_suite_and_test
2 parents f48551d + c522176 commit 281e4aa

File tree

6 files changed

+131
-239
lines changed

6 files changed

+131
-239
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# These owners will be the default owners for everything in the repo.
55
#* @defunkt
6-
* @dustinswales @grantfirl @mkavulich
6+
* @dustinswales @grantfirl @mkavulich @scrasmussen @hertneky
77

88
# Order is important. The last matching pattern has the most precedence.
99
# So if a pull request only touches javascript files, only these owners

scm/src/CCPP_typedefs.F90

Lines changed: 3 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ module CCPP_typedefs
205205
integer :: nbdlw !<
206206
integer :: nbdsw !<
207207
real (kind=kind_phys), pointer :: ncgl(:,:) => null() !<
208-
real (kind=kind_phys), pointer :: ncpi(:,:) => null() !<
209-
real (kind=kind_phys), pointer :: ncpl(:,:) => null() !<
210208
real (kind=kind_phys), pointer :: ncpr(:,:) => null() !<
211209
real (kind=kind_phys), pointer :: ncps(:,:) => null() !<
212210
integer :: ncstrac !<
@@ -300,6 +298,7 @@ module CCPP_typedefs
300298
real (kind=kind_phys), pointer :: tsurf_ice(:) => null() !<
301299
real (kind=kind_phys), pointer :: tsurf_land(:) => null() !<
302300
real (kind=kind_phys), pointer :: tsurf_water(:) => null() !<
301+
real (kind=kind_phys), pointer :: ud_mf(:,:) => null() !<
303302
real (kind=kind_phys), pointer :: uustar_ice(:) => null() !<
304303
real (kind=kind_phys), pointer :: uustar_land(:) => null() !<
305304
real (kind=kind_phys), pointer :: uustar_water(:) => null() !<
@@ -363,15 +362,6 @@ module CCPP_typedefs
363362
real (kind=kind_phys), pointer :: tracer(:,:,:) => null() !<
364363
real (kind=kind_phys), pointer :: aerosolslw(:,:,:,:) => null() !< Aerosol radiative properties in each LW band.
365364
real (kind=kind_phys), pointer :: aerosolssw(:,:,:,:) => null() !< Aerosol radiative properties in each SW band.
366-
real (kind=kind_phys), pointer :: cld_frac(:,:) => null() !< Total cloud fraction
367-
real (kind=kind_phys), pointer :: cld_lwp(:,:) => null() !< Cloud liquid water path
368-
real (kind=kind_phys), pointer :: cld_reliq(:,:) => null() !< Cloud liquid effective radius
369-
real (kind=kind_phys), pointer :: cld_iwp(:,:) => null() !< Cloud ice water path
370-
real (kind=kind_phys), pointer :: cld_reice(:,:) => null() !< Cloud ice effecive radius
371-
real (kind=kind_phys), pointer :: cld_swp(:,:) => null() !< Cloud snow water path
372-
real (kind=kind_phys), pointer :: cld_resnow(:,:) => null() !< Cloud snow effective radius
373-
real (kind=kind_phys), pointer :: cld_rwp(:,:) => null() !< Cloud rain water path
374-
real (kind=kind_phys), pointer :: cld_rerain(:,:) => null() !< Cloud rain effective radius
375365
real (kind=kind_phys), pointer :: precip_frac(:,:) => null() !< Precipitation fraction
376366
real (kind=kind_phys), pointer :: cld_cnv_frac(:,:) => null() !< SGS convective cloud fraction
377367
real (kind=kind_phys), pointer :: cld_cnv_lwp(:,:) => null() !< SGS convective cloud liquid water path
@@ -644,6 +634,7 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
644634
allocate (Interstitial%tsurf_ice (IM))
645635
allocate (Interstitial%tsurf_land (IM))
646636
allocate (Interstitial%tsurf_water (IM))
637+
allocate (Interstitial%ud_mf (IM,Model%levs))
647638
allocate (Interstitial%uustar_ice (IM))
648639
allocate (Interstitial%uustar_land (IM))
649640
allocate (Interstitial%uustar_water (IM))
@@ -689,15 +680,6 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
689680
allocate (Interstitial%fluxswDOWN_clrsky (IM, Model%levs+1))
690681
allocate (Interstitial%aerosolslw (IM, Model%levs, Model%rrtmgp_nBandsLW, NF_AELW))
691682
allocate (Interstitial%aerosolssw (IM, Model%levs, Model%rrtmgp_nBandsSW, NF_AESW))
692-
allocate (Interstitial%cld_frac (IM, Model%levs))
693-
allocate (Interstitial%cld_lwp (IM, Model%levs))
694-
allocate (Interstitial%cld_reliq (IM, Model%levs))
695-
allocate (Interstitial%cld_iwp (IM, Model%levs))
696-
allocate (Interstitial%cld_reice (IM, Model%levs))
697-
allocate (Interstitial%cld_swp (IM, Model%levs))
698-
allocate (Interstitial%cld_resnow (IM, Model%levs))
699-
allocate (Interstitial%cld_rwp (IM, Model%levs))
700-
allocate (Interstitial%cld_rerain (IM, Model%levs))
701683
allocate (Interstitial%precip_frac (IM, Model%levs))
702684
allocate (Interstitial%cld_cnv_frac (IM, Model%levs))
703685
allocate (Interstitial%cnv_cloud_overlap_param(IM, Model%levs))
@@ -785,15 +767,6 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
785767
allocate (Interstitial%cnv_ndrop (IM,Model%levs))
786768
allocate (Interstitial%cnv_nice (IM,Model%levs))
787769
end if
788-
if (Model%do_shoc) then
789-
if (.not. associated(Interstitial%qrn)) allocate (Interstitial%qrn (IM,Model%levs))
790-
if (.not. associated(Interstitial%qsnw)) allocate (Interstitial%qsnw (IM,Model%levs))
791-
! DH* updated version of shoc from May 22 2019 (not yet in CCPP) doesn't use qgl? remove?
792-
if (.not. associated(Interstitial%qgl)) allocate (Interstitial%qgl (IM,Model%levs))
793-
! *DH
794-
allocate (Interstitial%ncpi (IM,Model%levs))
795-
allocate (Interstitial%ncpl (IM,Model%levs))
796-
end if
797770
if (Model%lsm == Model%lsm_noahmp) then
798771
allocate (Interstitial%t2mmp (IM))
799772
allocate (Interstitial%q2mp (IM))
@@ -1105,15 +1078,6 @@ subroutine gfs_interstitial_rad_reset (Interstitial, Model)
11051078
Interstitial%fluxswDOWN_clrsky = clear_val
11061079
Interstitial%aerosolslw = clear_val
11071080
Interstitial%aerosolssw = clear_val
1108-
Interstitial%cld_frac = clear_val
1109-
Interstitial%cld_lwp = clear_val
1110-
Interstitial%cld_reliq = clear_val
1111-
Interstitial%cld_iwp = clear_val
1112-
Interstitial%cld_reice = clear_val
1113-
Interstitial%cld_swp = clear_val
1114-
Interstitial%cld_resnow = clear_val
1115-
Interstitial%cld_rwp = clear_val
1116-
Interstitial%cld_rerain = clear_val
11171081
Interstitial%precip_frac = clear_val
11181082
Interstitial%cld_cnv_frac = clear_val
11191083
Interstitial%cnv_cloud_overlap_param = clear_val
@@ -1322,6 +1286,7 @@ subroutine gfs_interstitial_phys_reset (Interstitial, Model)
13221286
Interstitial%tsurf_ice = Model%huge
13231287
Interstitial%tsurf_land = Model%huge
13241288
Interstitial%tsurf_water = Model%huge
1289+
Interstitial%ud_mf = clear_val
13251290
Interstitial%uustar_ice = Model%huge
13261291
Interstitial%uustar_land = Model%huge
13271292
Interstitial%uustar_water = Model%huge
@@ -1399,15 +1364,6 @@ subroutine gfs_interstitial_phys_reset (Interstitial, Model)
13991364
Interstitial%cnv_ndrop = clear_val
14001365
Interstitial%cnv_nice = clear_val
14011366
end if
1402-
if (Model%do_shoc) then
1403-
Interstitial%qrn = clear_val
1404-
Interstitial%qsnw = clear_val
1405-
! DH* updated version of shoc from May 22 2019 doesn't use qgl? remove?
1406-
Interstitial%qgl = clear_val
1407-
! *DH
1408-
Interstitial%ncpi = clear_val
1409-
Interstitial%ncpl = clear_val
1410-
end if
14111367
if (Model%lsm == Model%lsm_noahmp) then
14121368
Interstitial%t2mmp = clear_val
14131369
Interstitial%q2mp = clear_val

scm/src/CCPP_typedefs.meta

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
dimensions = (horizontal_loop_extent,adjusted_vertical_layer_dimension_for_radiation)
105105
type = real
106106
kind = kind_phys
107+
active = (.not. flag_for_rrtmgp_radiation_scheme)
107108
[bexp1d]
108109
standard_name = perturbation_of_soil_type_b_parameter
109110
long_name = perturbation of soil type "b" parameter
@@ -1390,22 +1391,6 @@
13901391
type = real
13911392
kind = kind_phys
13921393
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme)
1393-
[ncpi]
1394-
standard_name = local_ice_number_concentration
1395-
long_name = number concentration of ice local to physics
1396-
units = kg-1
1397-
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
1398-
type = real
1399-
kind = kind_phys
1400-
active = (flag_for_shoc)
1401-
[ncpl]
1402-
standard_name = local_condesed_water_number_concentration
1403-
long_name = number concentration of condensed water local to physics
1404-
units = kg-1
1405-
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
1406-
type = real
1407-
kind = kind_phys
1408-
active = (flag_for_shoc)
14091394
[ncpr]
14101395
standard_name = local_rain_number_concentration
14111396
long_name = number concentration of rain local to physics
@@ -1617,7 +1602,7 @@
16171602
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
16181603
type = real
16191604
kind = kind_phys
1620-
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme .or. flag_for_shoc)
1605+
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme)
16211606
[qicn]
16221607
standard_name = mass_fraction_of_convective_cloud_ice
16231608
long_name = mass fraction of convective cloud ice water
@@ -1648,15 +1633,15 @@
16481633
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
16491634
type = real
16501635
kind = kind_phys
1651-
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme .or. flag_for_shoc)
1636+
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme)
16521637
[qsnw]
16531638
standard_name = local_snow_water_mixing_ratio
16541639
long_name = ratio of mass of snow water to mass of dry air plus vapor (without condensates) local to physics
16551640
units = kg kg-1
16561641
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
16571642
type = real
16581643
kind = kind_phys
1659-
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme .or. flag_for_shoc)
1644+
active = (control_for_microphysics_scheme == identifier_for_morrison_gettelman_microphysics_scheme)
16601645
[prcpmp]
16611646
standard_name = lwe_thickness_of_explicit_precipitation_amount
16621647
long_name = explicit precipitation (rain, ice, snow, graupel, ...) on physics timestep
@@ -2596,20 +2581,23 @@
25962581
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_longwave_bands)
25972582
type = real
25982583
kind = kind_phys
2584+
active = (flag_for_rrtmgp_radiation_scheme)
25992585
[aerosolslw(:,:,:,2)]
26002586
standard_name = RRTMGP_aerosol_single_scattering_albedo_for_longwave_bands_01_16
26012587
long_name = aerosol single scattering albedo for longwave bands 01-16
26022588
units = frac
26032589
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_longwave_bands)
26042590
type = real
26052591
kind = kind_phys
2592+
active = (flag_for_rrtmgp_radiation_scheme)
26062593
[aerosolslw(:,:,:,3)]
26072594
standard_name = RRTMGP_aerosol_asymmetry_parameter_for_longwave_bands_01_16
26082595
long_name = aerosol asymmetry parameter for longwave bands 01-16
26092596
units = none
26102597
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_longwave_bands)
26112598
type = real
26122599
kind = kind_phys
2600+
active = (flag_for_rrtmgp_radiation_scheme)
26132601
[aerosolssw]
26142602
standard_name = RRTMGP_aerosol_optical_properties_for_shortwave_bands_01_16
26152603
long_name = aerosol optical properties for shortwave bands 01-16
@@ -2625,20 +2613,23 @@
26252613
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_shortwave_bands)
26262614
type = real
26272615
kind = kind_phys
2616+
active = (flag_for_rrtmgp_radiation_scheme)
26282617
[aerosolssw(:,:,:,2)]
26292618
standard_name = RRTMGP_aerosol_single_scattering_albedo_for_shortwave_bands_01_16
26302619
long_name = aerosol single scattering albedo for shortwave bands 01-16
26312620
units = frac
26322621
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_shortwave_bands)
26332622
type = real
26342623
kind = kind_phys
2624+
active = (flag_for_rrtmgp_radiation_scheme)
26352625
[aerosolssw(:,:,:,3)]
26362626
standard_name = RRTMGP_aerosol_asymmetry_parameter_for_shortwave_bands_01_16
26372627
long_name = aerosol asymmetry parameter for shortwave bands 01-16
26382628
units = none
26392629
dimensions = (horizontal_loop_extent,vertical_layer_dimension, number_of_shortwave_bands)
26402630
type = real
26412631
kind = kind_phys
2632+
active = (flag_for_rrtmgp_radiation_scheme)
26422633
[precip_frac]
26432634
standard_name = precipitation_fraction_by_layer
26442635
long_name = precipitation fraction in each layer

0 commit comments

Comments
 (0)