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 "omnibus" changes from 11/2024-02/2025 #558

Merged
merged 8 commits into from
Feb 6, 2025
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
7 changes: 7 additions & 0 deletions ccpp/config/ccpp_prebuild_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'ccpp/physics/physics/Radiation/RRTMG/radlw_param.f',
'ccpp/physics/physics/photochem/module_ozphys.F90',
'ccpp/physics/physics/photochem/module_h2ophys.F90',
'ccpp/physics/physics/SFC_Models/Land/Noahmp/lnd_iau_mod.F90',
'ccpp/physics/physics/Interstitials/UFS_SCM_NEPTUNE/module_ccpp_suite_simulator.F90',
'scm/src/CCPP_typedefs.F90',
'scm/src/GFS_typedefs.F90',
Expand Down Expand Up @@ -53,6 +54,12 @@
'module_h2ophys' : '',
'ty_h2ophys' : '',
},
'land_iau_mod' : {
'land_iau_mod' : '',
'land_iau_external_data_type' : '',
'land_iau_state_type' : '',
'land_iau_control_type' : '',
},
'CCPP_typedefs' : {
'GFS_interstitial_type' : 'physics%Interstitial(cdata%thrd_no)',
'CCPP_typedefs' : '',
Expand Down
2 changes: 1 addition & 1 deletion ccpp/framework
Submodule framework updated 118 files
2 changes: 1 addition & 1 deletion ccpp/physics
Submodule physics updated 29 files
+3 −3 physics/CONV/Grell_Freitas/cu_gf_driver.F90
+7 −0 physics/CONV/Grell_Freitas/cu_gf_driver.meta
+3 −2 physics/CONV/Grell_Freitas/cu_gf_driver_pre.F90
+7 −0 physics/CONV/Grell_Freitas/cu_gf_driver_pre.meta
+11 −28 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.fv3.F90
+20 −19 physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.fv3.meta
+2 −5 physics/Interstitials/UFS_SCM_NEPTUNE/sgscloud_radpre.F90
+7 −0 physics/Interstitials/UFS_SCM_NEPTUNE/sgscloud_radpre.meta
+3,112 −3,084 physics/MP/Thompson/module_mp_thompson.F90
+7 −3 physics/MP/Thompson/module_mp_thompson_make_number_concentrations.F90
+63 −3 physics/MP/Thompson/mp_thompson.F90
+88 −0 physics/MP/Thompson/mp_thompson.meta
+19 −19 physics/PBL/MYNN_EDMF/module_bl_mynn.F90
+8 −2 physics/Radiation/radiation_clouds.f
+788 −0 physics/SFC_Models/Land/Noahmp/lnd_iau_mod.F90
+58 −0 physics/SFC_Models/Land/Noahmp/lnd_iau_mod.meta
+2 −0 physics/SFC_Models/Land/Noahmp/module_sf_noahmp_glacier.F90
+24 −10 physics/SFC_Models/Land/Noahmp/module_sf_noahmplsm.F90
+295 −2 physics/SFC_Models/Land/Noahmp/noahmpdrv.F90
+227 −0 physics/SFC_Models/Land/Noahmp/noahmpdrv.meta
+4 −4 physics/SFC_Models/Land/RUC/module_sf_ruclsm.F90
+122 −25 physics/SFC_Models/Land/sfc_land.F90
+185 −3 physics/SFC_Models/Land/sfc_land.meta
+59 −63 physics/smoke_dust/module_add_emiss_burn.F90
+45 −53 physics/smoke_dust/module_plumerise.F90
+40 −212 physics/smoke_dust/module_smoke_plumerise.F90
+10 −3 physics/smoke_dust/rrfs_smoke_config.F90
+189 −96 physics/smoke_dust/rrfs_smoke_wrapper.F90
+59 −26 physics/smoke_dust/rrfs_smoke_wrapper.meta
2 changes: 1 addition & 1 deletion ccpp/physics_namelists/input_HRRR_gf.nml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
sfclay_compute_flux = .true.
shal_cnv = .false.
smoke_conv_wet_coef = 0.5, 0.5, 0.5
smoke_forecast = 1
hwp_method = 1
swhtr = .true.
thsfc_loc = .false.
trans_trac = .true.
Expand Down
269 changes: 181 additions & 88 deletions scm/src/GFS_typedefs.F90

Large diffs are not rendered by default.

84 changes: 74 additions & 10 deletions scm/src/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@
standard_name = emission_smoke_prvd_RRFS
long_name = emission fire RRFS daily
units = various
dimensions = (horizontal_dimension,4)
dimensions = (horizontal_dimension,5)
type = real
kind = kind_phys
active = (do_smoke_coupling)
Expand Down Expand Up @@ -2383,26 +2383,44 @@
standard_name = kinematic_surface_upward_sensible_heat_flux_of_fire
long_name = kinematic surface upward sensible heat flux of fire
units = K m s-1
dimensions = (horizontal_loop_extent)
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
active = (do_fire_coupling)
[evap_fire]
standard_name = surface_upward_specific_humidity_flux_of_fire
long_name = kinematic surface upward latent heat flux of fire
units = kg kg-1 m s-1
dimensions = (horizontal_loop_extent)
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
active = (do_fire_coupling)
[smoke_fire]
standard_name = smoke_emission_of_fire
long_name = smoke emission of fire
units = kg m-2
dimensions = (horizontal_loop_extent)
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
active = (do_fire_coupling)
[land_iau_data]
standard_name = land_data_assimilation_data
long_name = land data assimilation data
units = mixed
dimensions = ()
type = land_iau_external_data_type
[land_iau_control]
standard_name = land_data_assimilation_control
long_name = land data assimilation control
units = mixed
dimensions = ()
type = land_iau_control_type
[land_iau_state]
standard_name = land_data_assimilation_interpolated_data
long_name = land data assimilation space- and time-interpolated
units = mixed
dimensions = ()
type = land_iau_state_type

########################################################################
[ccpp-table-properties]
Expand Down Expand Up @@ -3240,6 +3258,14 @@
type = real
kind = kind_phys
active = (do_smoke_coupling)
[rho_dry]
standard_name = dry_air_density
long_name = dry air density
units = kg m-3
dimensions = (horizontal_dimension,vertical_layer_dimension)
type = real
kind = kind_phys
active = (do_smoke_coupling)
[uspdavg]
standard_name = mean_wind_speed_in_boundary_layer
long_name = average wind speed within the boundary layer
Expand Down Expand Up @@ -4899,12 +4925,18 @@
units = count
dimensions = ()
type = integer
[thpsnmp_is_init]
[thompson_mp_is_init]
standard_name = flag_for_thompson_mp_scheme_initialization
long_name = flag carrying scheme initialization status
units = flag
dimensions = ()
type = logical
[gfs_phys_time_vary_is_init]
standard_name = flag_for_gfs_phys_time_vary_interstitial_initialization
long_name = flag carrying interstitial initialization status
units = flag
dimensions = ()
type = logical
[lgfdlmprad]
standard_name = flag_for_GFDL_microphysics_radiation_interaction
long_name = flag for GFDL microphysics-radiation interaction
Expand Down Expand Up @@ -4953,6 +4985,19 @@
units = flag
dimensions = ()
type = logical
[add_fire_moist_flux]
standard_name = flag_for_fire_moisture_flux
long_name = flag to add fire moisture flux
units = flag
dimensions = ()
type = logical
[sc_factor]
standard_name = scale_factor_for_wildfire_emissions
long_name = scale factor for wildfire emissions
units = 1
dimensions = ()
type = real
kind = kind_phys
[isncond_opt]
standard_name = control_for_soil_thermal_conductivity_option_in_ruc_lsm
long_name = control for soil thermal conductivity option in RUC land surface model
Expand Down Expand Up @@ -5598,6 +5643,12 @@
units = flag
dimensions = ()
type = integer
[gf_coldstart]
standard_name = flag_for_cold_start_gf
long_name = flag to cold start G-F
units = flag
dimensions = ()
type = logical
[hwrf_samfdeep]
standard_name = flag_for_hurricane_specific_code_in_scale_aware_mass_flux_deep_convection
long_name = flag for hwrf samfdeepcnv scheme
Expand Down Expand Up @@ -5655,6 +5706,12 @@
units = none
dimensions = ()
type = integer
[conv_cf_opt]
standard_name = option_for_convection_scheme_cloud_fraction_computation
long_name = option for convection scheme cloud fraction computation
units = flag
dimensions = ()
type = integer
[nmtvr]
standard_name = number_of_statistical_measures_of_subgrid_orography
long_name = number of topographic variables in GWD
Expand Down Expand Up @@ -6880,6 +6937,13 @@
dimensions = ()
type = real
kind = kind_phys
[plume_alpha]
standard_name = alpha_for_plumerise_scheme
long_name = alpha paramter for plumerise scheme
units = none
dimensions = ()
type = real
kind = kind_phys
[ebb_dcycle]
standard_name = control_for_diurnal_cycle_of_biomass_burning_emissions
long_name = rrfs smoke diurnal cycle option
Expand Down Expand Up @@ -6952,10 +7016,10 @@
units = index
dimensions = ()
type = integer
[smoke_forecast]
standard_name = do_smoke_forecast
long_name = index for rrfs smoke forecast
units = index
[hwp_method]
standard_name = control_for_HWP_equation
long_name = control for HWP equation
units = 1
dimensions = ()
type = integer
[aero_ind_fdb]
Expand Down Expand Up @@ -10163,7 +10227,7 @@
dependencies = hooks/machine.F,hooks/physcons.F90
dependencies = Radiation/RRTMG/radlw_param.f,Radiation/RRTMG/radsw_param.f
dependencies = photochem/module_ozphys.F90,photochem/module_h2ophys.F90
dependencies = MP/GFDL/GFDL_parse_tracers.F90
dependencies = SFC_Models/Land/Noahmp/lnd_iau_mod.F90,MP/GFDL/GFDL_parse_tracers.F90
dependencies = Interstitials/UFS_SCM_NEPTUNE/GFS_ccpp_suite_sim_pre.F90

[ccpp-arg-table]
Expand Down
6 changes: 5 additions & 1 deletion scm/src/scm_physical_constants.F90
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module scm_physical_constants
real(kind=dp),parameter:: con_omega =7.2921e-5
real(kind=dp),parameter:: con_p0 =1.01325e+5

real(kind=dp),parameter:: con_rgas =8.314472_dp
real(kind=dp),parameter:: con_rd =2.8705e+2
real(kind=dp),parameter:: con_rv =4.6150e+2
real(kind=dp),parameter:: con_cp =1.0046e+3
Expand All @@ -37,7 +38,10 @@ module scm_physical_constants
real(kind=dp),parameter:: con_epsm1 =con_rd/con_rv - 1._dp
real(kind=dp),parameter:: con_1ovg =1._dp/con_g

real(kind=dp),parameter:: karman = 0.4_dp
real(kind=dp),parameter:: con_avgd =6.0221415e23_dp
real(kind=dp),parameter:: con_amd =28.9644_dp !< molecular wght of dry air (\f$g/mol\f$)
real(kind=dp),parameter:: con_amw =18.0154_dp
real(kind=dp),parameter:: karman =0.4_dp

real(kind=dp),parameter:: cimin =0.15
!> minimum rain amount
Expand Down
28 changes: 28 additions & 0 deletions scm/src/scm_physical_constants.meta
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,32 @@
units = K
dimensions = ()
type = real
kind = kind_phys
[con_rgas]
standard_name = molar_gas_constant
long_name = universal ideal molar gas constant
units = J K-1 mol-1
dimensions = ()
type = real
kind = kind_phys
[con_avgd]
standard_name = avogadro_consant
long_name = Avogadro constant
units = mol-1
dimensions = ()
type = real
kind = kind_phys
[con_amd]
standard_name = molecular_weight_of_dry_air
long_name = molecular weight of dry air
units = g mol-1
dimensions = ()
type = real
kind = kind_phys
[con_amw]
standard_name = molecular_weight_of_water_vapor
long_name = molecular weight of water vapor
units = g mol-1
dimensions = ()
type = real
kind = kind_phys
Loading