Skip to content

Commit daa1f19

Browse files
committed
Merge branch 'develop' into rrfsv1-to-ufs/dev7
2 parents cf9ce69 + 1648e17 commit daa1f19

File tree

9 files changed

+151
-88
lines changed

9 files changed

+151
-88
lines changed

ccpp/data/CCPP_typedefs.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,8 +1620,8 @@ subroutine gfdl_interstitial_create (Interstitial, is, ie, isd, ied, js, je, jsd
16201620
else
16211621
Interstitial%ngas = 0
16221622
end if
1623-
allocate(Interstitial%rilist(0:Interstitial%ngas))
1624-
allocate(Interstitial%cpilist(0:Interstitial%ngas))
1623+
allocate (Interstitial%rilist(0:Interstitial%ngas))
1624+
allocate (Interstitial%cpilist(0:Interstitial%ngas))
16251625
if (present(rilist)) then
16261626
Interstitial%rilist = rilist(0:Interstitial%ngas)
16271627
Interstitial%cpilist = cpilist(0:Interstitial%ngas)

ccpp/data/GFS_typedefs.F90

Lines changed: 97 additions & 79 deletions
Large diffs are not rendered by default.

ccpp/data/GFS_typedefs.meta

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@
960960
standard_name = emission_smoke_prvd_RRFS
961961
long_name = emission fire RRFS daily
962962
units = various
963-
dimensions = (horizontal_dimension,4)
963+
dimensions = (horizontal_dimension,5)
964964
type = real
965965
kind = kind_phys
966966
active = (do_smoke_coupling)
@@ -2369,23 +2369,23 @@
23692369
standard_name = kinematic_surface_upward_sensible_heat_flux_of_fire
23702370
long_name = kinematic surface upward sensible heat flux of fire
23712371
units = K m s-1
2372-
dimensions = (horizontal_loop_extent)
2372+
dimensions = (horizontal_dimension)
23732373
type = real
23742374
kind = kind_phys
23752375
active = (do_fire_coupling)
23762376
[evap_fire]
23772377
standard_name = surface_upward_specific_humidity_flux_of_fire
23782378
long_name = kinematic surface upward latent heat flux of fire
23792379
units = kg kg-1 m s-1
2380-
dimensions = (horizontal_loop_extent)
2380+
dimensions = (horizontal_dimension)
23812381
type = real
23822382
kind = kind_phys
23832383
active = (do_fire_coupling)
23842384
[smoke_fire]
23852385
standard_name = smoke_emission_of_fire
23862386
long_name = smoke emission of fire
23872387
units = kg m-2
2388-
dimensions = (horizontal_loop_extent)
2388+
dimensions = (horizontal_dimension)
23892389
type = real
23902390
kind = kind_phys
23912391
active = (do_fire_coupling)
@@ -3244,6 +3244,14 @@
32443244
type = real
32453245
kind = kind_phys
32463246
active = (do_smoke_coupling)
3247+
[rho_dry]
3248+
standard_name = dry_air_density
3249+
long_name = dry air density
3250+
units = kg m-3
3251+
dimensions = (horizontal_dimension,vertical_layer_dimension)
3252+
type = real
3253+
kind = kind_phys
3254+
active = (do_smoke_coupling)
32473255
[uspdavg]
32483256
standard_name = mean_wind_speed_in_boundary_layer
32493257
long_name = average wind speed within the boundary layer
@@ -4957,6 +4965,12 @@
49574965
units = flag
49584966
dimensions = ()
49594967
type = logical
4968+
[add_fire_moist_flux]
4969+
standard_name = flag_for_fire_moisture_flux
4970+
long_name = flag to add fire moisture flux
4971+
units = flag
4972+
dimensions = ()
4973+
type = logical
49604974
[isncond_opt]
49614975
standard_name = control_for_soil_thermal_conductivity_option_in_ruc_lsm
49624976
long_name = control for soil thermal conductivity option in RUC land surface model
@@ -5659,6 +5673,12 @@
56595673
units = none
56605674
dimensions = ()
56615675
type = integer
5676+
[conv_cf_opt]
5677+
standard_name = option_for_convection_scheme_cloud_fraction_computation
5678+
long_name = option for convection scheme cloud fraction computation
5679+
units = flag
5680+
dimensions = ()
5681+
type = integer
56625682
[nmtvr]
56635683
standard_name = number_of_statistical_measures_of_subgrid_orography
56645684
long_name = number of topographic variables in GWD
@@ -6884,6 +6904,13 @@
68846904
dimensions = ()
68856905
type = real
68866906
kind = kind_phys
6907+
[plume_alpha]
6908+
standard_name = alpha_for_plumerise_scheme
6909+
long_name = alpha paramter for plumerise scheme
6910+
units = none
6911+
dimensions = ()
6912+
type = real
6913+
kind = kind_phys
68876914
[ebb_dcycle]
68886915
standard_name = control_for_diurnal_cycle_of_biomass_burning_emissions
68896916
long_name = rrfs smoke diurnal cycle option

ccpp/driver/GFS_diagnostics.F90

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,18 @@ subroutine GFS_externaldiag_populate (ExtDiag, Model, Statein, Stateout, Sfcprop
545545
ExtDiag(idx)%data(nb)%var2 => IntDiag%fluxr(Model%chunk_begin(nb):Model%chunk_end(nb),32)
546546
enddo
547547

548+
idx = idx + 1
549+
ExtDiag(idx)%axes = 2
550+
ExtDiag(idx)%name = 'csdsf'
551+
ExtDiag(idx)%desc = 'Clear Sky Instantateous Downward Short Wave Flux'
552+
ExtDiag(idx)%unit = 'W/m**2'
553+
ExtDiag(idx)%mod_name = 'gfs_phys'
554+
ExtDiag(idx)%intpl_method = 'bilinear'
555+
allocate (ExtDiag(idx)%data(nblks))
556+
do nb = 1,nblks
557+
ExtDiag(idx)%data(nb)%var2 => IntDiag%fluxr(Model%chunk_begin(nb):Model%chunk_end(nb),32)
558+
enddo
559+
548560
idx = idx + 1
549561
ExtDiag(idx)%axes = 2
550562
ExtDiag(idx)%name = 'csulf_ave'

ccpp/framework

ccpp/suites/suite_RRFSens_phy1.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
<group name="radiation">
1414
<subcycle loop="1">
1515
<scheme>GFS_suite_interstitial_rad_reset</scheme>
16+
<scheme>sgscloud_radpre</scheme>
1617
<scheme>GFS_rrtmg_pre</scheme>
1718
<scheme>GFS_radiation_surface</scheme>
1819
<scheme>rad_sw_pre</scheme>
1920
<scheme>rrtmg_sw</scheme>
2021
<scheme>rrtmg_sw_post</scheme>
2122
<scheme>rrtmg_lw</scheme>
23+
<scheme>sgscloud_radpost</scheme>
2224
<scheme>rrtmg_lw_post</scheme>
2325
<scheme>GFS_rrtmg_post</scheme>
2426
</subcycle>

ccpp/suites/suite_RRFSens_phy4.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
<group name="radiation">
1414
<subcycle loop="1">
1515
<scheme>GFS_suite_interstitial_rad_reset</scheme>
16+
<scheme>sgscloud_radpre</scheme>
1617
<scheme>GFS_rrtmg_pre</scheme>
1718
<scheme>GFS_radiation_surface</scheme>
1819
<scheme>rad_sw_pre</scheme>
1920
<scheme>rrtmg_sw</scheme>
2021
<scheme>rrtmg_sw_post</scheme>
2122
<scheme>rrtmg_lw</scheme>
23+
<scheme>sgscloud_radpost</scheme>
2224
<scheme>rrtmg_lw_post</scheme>
2325
<scheme>GFS_rrtmg_post</scheme>
2426
</subcycle>

io/fv3atm_rrfs_sd_io.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module fv3atm_rrfs_sd_io
6363
integer, private :: nvar_dust12m = 5
6464
integer, private :: nvar_emi = 1
6565
integer, private :: nvar_fire = 2
66-
integer, private :: nvar_fire2d = 4
66+
integer, private :: nvar_fire2d = 5
6767

6868
character(len=32), pointer, dimension(:), private :: dust12m_name => null()
6969
character(len=32), pointer, dimension(:), private :: emi_name => null()
@@ -578,6 +578,7 @@ subroutine rrfs_sd_emissions_register_fire(data, Model, restart, Atm_block)
578578
data%fire_name2d(2) = 'frp_davg'
579579
data%fire_name2d(3) = 'fire_end_hr'
580580
data%fire_name2d(4) = 'hwp_davg'
581+
data%fire_name2d(5) = 'totprcp_24hrs'
581582

582583
!--- register axis
583584
call register_axis(restart, 'lon', 'X')
@@ -637,6 +638,7 @@ subroutine rrfs_sd_emissions_copy_fire(data, Model, Sfcprop, Atm_block)
637638
Sfcprop%smoke2d_RRFS(im,2) = data%fire_var2d(i,j,2)
638639
Sfcprop%smoke2d_RRFS(im,3) = data%fire_var2d(i,j,3)
639640
Sfcprop%smoke2d_RRFS(im,4) = data%fire_var2d(i,j,4)
641+
Sfcprop%smoke2d_RRFS(im,5) = data%fire_var2d(i,j,5)
640642
else
641643
! -- user define their own fire emission
642644
endif

0 commit comments

Comments
 (0)