Loading [MathJax]/extensions/tex2jax.js
CCPP SciDoc for UFS-SRW v3.0.0  SRW v3.0.0
Common Community Physics Package Developed at DTC
 
All Classes Namespaces Functions Variables Modules Pages
Loading...
Searching...
No Matches

◆ rrfs_smoke_wrapper_run()

subroutine, public rrfs_smoke_wrapper::rrfs_smoke_wrapper_run ( integer, intent(in) im,
logical, intent(in) flag_init,
integer, intent(in) kte,
integer, intent(in) kme,
integer, intent(in) ktau,
real(kind_phys), intent(in) dt,
real(kind_phys), dimension(:), intent(in) garea,
integer, dimension(:), intent(in) land,
integer, dimension(8), intent(in) jdate,
real(kind_phys), dimension(:), intent(in) u10m,
real(kind_phys), dimension(:), intent(in) v10m,
real(kind_phys), dimension(:), intent(in) ustar,
real(kind_phys), dimension(:), intent(in) rlat,
real(kind_phys), dimension(:), intent(in) rlon,
real(kind_phys), dimension(:), intent(in) tskin,
real(kind_phys), dimension(:), intent(in) pb2d,
real(kind_phys), dimension(:), intent(in) t2m,
real(kind_phys), dimension(:), intent(in) dpt2m,
real(kind_phys), dimension(:,:), intent(in) pr3d,
real(kind_phys), dimension(:,:), intent(in) ph3d,
real(kind_phys), dimension(:,:), intent(in) phl3d,
real(kind_phys), dimension(:,:), intent(in) prl3d,
real(kind_phys), dimension(:,:), intent(in) tk3d,
real(kind_phys), dimension(:,:), intent(in) us3d,
real(kind_phys), dimension(:,:), intent(in) vs3d,
real(kind_phys), dimension(:,:), intent(in) spechum,
real(kind_phys), dimension(:,:), intent(in) w,
integer, intent(in) nsoil,
real(kind_phys), dimension(:,:), intent(in), optional smc,
real(kind_phys), dimension(:,:), intent(in), optional tslb,
integer, dimension(:), intent(in) vegtype_dom,
real(kind_phys), dimension(:,:), intent(in) vegtype_frac,
integer, dimension(:), intent(in) soiltyp,
integer, intent(in) nlcat,
real(kind_phys), dimension(:), intent(in) dswsfc,
real(kind_phys), dimension(:), intent(in) zorl,
real(kind_phys), dimension(:), intent(in) snow,
real(kind_phys), intent(in) julian,
real(kind_phys), dimension(:), intent(in) recmol,
integer, dimension(8), intent(in) idat,
real(kind_phys), dimension(:), intent(in) rain_cpl,
real(kind_phys), dimension(:), intent(in) rainc_cpl,
real(kind_phys), dimension(:), intent(in) hf2d,
real(kind_phys), intent(in) g,
real(kind_phys), intent(in) pi,
real(kind_phys), intent(in) con_cp,
real(kind_phys), intent(in) con_rd,
real(kind_phys), intent(in) con_fv,
real(kind_phys), dimension(:,:,:), intent(in), optional dust12m_in,
real(kind_phys), dimension(:,:), intent(in), optional emi_ant_in,
real(kind_phys), dimension(:,:,:), intent(in), optional smoke_rrfs,
real(kind_phys), dimension(:,:), intent(in), optional smoke2d_rrfs,
integer, intent(in) ntrac,
real(kind_phys), dimension(:,:,:), intent(inout) qgrs,
real(kind_phys), dimension(:,:,:), intent(inout) gq0,
real(kind_phys), dimension(:,:,:), intent(inout), optional chem3d,
integer, intent(in) tile_num,
integer, intent(in) ntfsmoke,
integer, intent(in) ntsmoke,
integer, intent(in) ntdust,
integer, intent(in) ntcoarsepm,
integer, intent(in) imp_physics,
integer, intent(in) imp_physics_thompson,
real(kind_phys), dimension(:,:), intent(inout), optional nwfa,
real(kind_phys), dimension(:,:), intent(inout), optional nifa,
real(kind_phys), dimension(:), intent(inout), optional emanoc,
real(kind_phys), dimension(:), intent(inout), optional emdust,
real(kind_phys), dimension(:), intent(inout), optional emseas,
real(kind_phys), dimension(:,:), intent(inout), optional drydep_flux_out,
real(kind_phys), dimension(:,:), intent(inout), optional wetdpr,
real(kind_phys), dimension(:), intent(inout), optional ebb_smoke_in,
real(kind_phys), dimension(:), intent(inout), optional frp_output,
real(kind_phys), dimension(:), intent(inout), optional coef_bb,
integer, dimension(:), intent(out), optional fire_type_out,
real(kind_phys), dimension(:,:), intent(inout), optional ebu_smoke,
real(kind_phys), dimension(:), intent(inout), optional fhist,
real(kind_phys), dimension(:), intent(inout), optional min_fplume,
real(kind_phys), dimension(:), intent(inout), optional max_fplume,
real(kind_phys), dimension(:), intent(inout), optional hwp,
real(kind_phys), dimension(:), intent(inout), optional hwp_ave,
real(kind_phys), dimension(:), intent(in), optional wetness,
integer, intent(in) ndvel,
real(kind_phys), dimension(:,:), intent(inout), optional ddvel_inout,
real(kind_phys), dimension(:), intent(in), optional smoke_fire,
logical, intent(in) cpl_fire,
real(kind_phys), dimension(:), intent(inout), optional peak_hr_out,
real(kind_phys), dimension(:), intent(out), optional lu_nofire_out,
real(kind_phys), dimension(:), intent(out), optional lu_qfire_out,
real(kind_phys), dimension(:), intent(out), optional fire_heat_flux_out,
real(kind_phys), dimension(:), intent(out), optional frac_grid_burned_out,
real(kind_phys), dimension(:), intent(in) oro,
real(kind_phys), dimension(:), intent(in) totprcp,
real(kind_phys), dimension(:), intent(inout), optional uspdavg,
real(kind_phys), dimension(:), intent(inout), optional hpbl_thetav,
real(kind_phys), dimension(:,:), intent(inout), optional rho_dry,
type(mpi_comm), intent(in) mpicomm,
integer, intent(in) mpirank,
integer, intent(in) mpiroot,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

rrfs_smoke_wrapper_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
flag_initflag_for_first_timestepflag signaling first time step for time integration loopflaglogical()in
ktevertical_layer_dimensionvertical layer dimensioncountinteger()in
kmevertical_interface_dimensionnumber of vertical levels plus onecountinteger()in
ktauindex_of_timestepcurrent forecast iterationindexinteger()in
dttimestep_for_physicsphysics time stepsreal()kind_physin
gareacell_areagrid cell aream2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
landsea_land_ice_masklandmask: sea/land/ice=0/1/2flaginteger(ccpp_constant_one:horizontal_loop_extent)in
jdatedate_and_time_of_forecast_in_united_states_ordercurrent forecast date and timenoneinteger(ccpp_constant_one:8)in
u10mx_wind_at_10m10 meter u wind speedm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
v10my_wind_at_10m10 meter v wind speedm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
ustarsurface_friction_velocityboundary layer parameterm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
rlatlatitudelatituderadianreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
rlonlongitudelongituderadianreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tskinsurface_skin_temperaturesurface skin temperatureKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
pb2datmosphere_boundary_layer_thicknessPBL thicknessmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
t2mair_temperature_at_2m2 meter temperatureKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
dpt2mdewpoint_temperature_at_2m2 meter dewpoint temperatureKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
pr3dair_pressure_at_interfaceair pressure at model layer interfacesPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
ph3dgeopotential_at_interfacegeopotential at model layer interfacesm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
phl3dgeopotentialgeopotential at model layer centersm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
prl3dair_pressuremean layer pressurePareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
tk3dair_temperature_of_new_stateupdated temperatureKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
us3dx_wind_of_new_stateupdated x-direction windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
vs3dy_wind_of_new_stateupdated y-direction windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
spechumspecific_humidity_of_new_statewater vapor specific humidity updated by physicskg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
wlagrangian_tendency_of_air_pressurelayer mean vertical velocityPa s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nsoilvertical_dimension_of_soil_internal_to_land_surface_schemenumber of soil layers internal to land surface modelcountinteger()in
smcvolume_fraction_of_soil_moisture_for_land_surface_modelvolumetric fraction of soil moisture for lsmfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_dimension_of_soil_internal_to_land_surface_scheme)kind_physinout
tslbsoil_temperature_for_land_surface_modelsoil temperature for land surface modelKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_dimension_of_soil_internal_to_land_surface_scheme)kind_physin
vegtype_domvegetation_type_classificationvegetation type at each grid cellindexinteger(ccpp_constant_one:horizontal_loop_extent)in
soiltypsoil_type_classificationsoil type at each grid cellindexinteger(ccpp_constant_one:horizontal_loop_extent)in
nlcatnumber_of_vegetation_categoriesnumber of vegetation categoriescountinteger()in
vegtype_fracfraction_of_vegetation_categoryfraction of horizontal grid area occupied by given vegetation categoryfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_vegetation_categories)kind_physin
dswsfcsurface_downwelling_shortwave_fluxsurface downwelling shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
zorlsurface_roughness_lengthsurface roughness length in cmcmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
snowlwe_surface_snowwater equivalent snow depthmmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
julianforecast_julian_dayjulian daydaysreal()kind_physin
recmolreciprocal_of_obukhov_lengthone over obukhov lengthm-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
idatdate_and_time_at_model_initialization_in_iso_orderinitialization date and timenoneinteger(ccpp_constant_one:8)in
rain_cpllwe_thickness_of_precipitation_amount_on_dynamics_timesteptotal rain at this time stepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
rainc_cpllwe_thickness_of_convective_precipitation_amount_on_dynamics_timestepconvective rain at this time stepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
hf2dinstantaneous_surface_upward_sensible_heat_fluxsurface upward sensible heat flux valid for current callW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
pipiratio of a circle's circumference to its diameternonereal()kind_physin
con_cpspecific_heat_of_dry_air_at_constant_pressurespecific heat !of dry air at constant pressureJ kg-1 K-1real()kind_physin
con_rdgas_constant_of_dry_airideal gas constant for dry airJ kg-1 K-1real()kind_physin
con_fvratio_of_vapor_to_dry_air_gas_constants_minus_one(rv/rd) - 1 (rv = ideal gas constant for water vapor)nonereal()kind_physin
dust12m_infengsha_dust12m_inputfengsha dust inputvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:12, ccpp_constant_one:5)kind_physin
emi_ant_inanthropogenic_background_inputanthropogenic background inputvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:1)kind_physin
smoke_RRFSemission_smoke_rrfsemission fire RRFSvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:24, ccpp_constant_one:2)kind_physin
smoke2d_RRFSemission_smoke_prvd_rrfsemission fire RRFS dailyvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:5)kind_physin
ntracnumber_of_tracersnumber of tracerscountinteger()in
qgrstracer_concentrationmodel layer mean tracer concentrationkg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physinout
gq0tracer_concentration_of_new_statetracer concentration updated by physicskg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physinout
chem3dchem3d_mynn_pbl_transportmynn pbl transport of smoke and dustvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_chemical_species_vertically_mixed)kind_physinout
tile_numindex_of_cubed_sphere_tiletile numbernoneinteger()in
ntsmokeindex_for_smoke_in_tracer_concentration_arraytracer index for smokeindexinteger()in
ntfsmokeindex_for_fire_smoke_in_tracer_concentration_arraytracer index for fire smokeindexinteger()in
ntdustindex_for_dust_in_tracer_concentration_arraytracer index for dustindexinteger()in
ntcoarsepmindex_for_coarse_particulate_matter_in_tracer_concentration_arraytracer index for coarse particulate matterindexinteger()in
imp_physicscontrol_for_microphysics_schemechoice of microphysics schemeflaginteger()in
imp_physics_thompsonidentifier_for_thompson_microphysics_schemechoice of Thompson microphysics schemeflaginteger()in
nwfamass_number_concentration_of_hygroscopic_aerosols_of_new_statenumber concentration of water-friendly aerosolskg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
nifamass_number_concentration_of_nonhygroscopic_ice_nucleating_aerosols_of_new_statenumber concentration of ice-friendly aerosolskg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
emanocemission_of_anothropogenic_for_mp_indir_fdbemission of anothropogenic for mp indirect feedabckug m-2 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
emdustemission_of_dust_for_smokeemission of dust for smokeug m-2 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
emseasemission_of_sea_salt_for_mp_indir_fdbemission of sea salt for mp indirect feedabckug m-2 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
ebb_smoke_insurface_smoke_emissionemission of surface smokeug m-2 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
frp_outputfrp_hourlyhourly fire radiative powerMWreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
coef_bbcoef_bb_dccoef to estimate the fire emissionnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
fire_type_outfire_typetype of fire1integer(ccpp_constant_one:horizontal_loop_extent)out
ebu_smokeebu_smokebuffer of vertical fire emissionvariousreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
fhistfire_histcoefficient to scale the fire activity depending on the fire durationnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
min_fplumeminimum_fire_plume_sigma_pressure_levelminimum model level of fire plumerisenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
max_fplumemaximum_fire_plume_sigma_pressure_levelmaximum model level of fire plumerisenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
mpicommmpi_communicatorMPI communicatorindexMPI_Comm()MPI_Commin
mpirankmpi_rankcurrent MPI-rankindexinteger()in
mpirootmpi_rootmaster MPI-rankindexinteger()in
rho_drydry_air_densitydry air densitykg m-3real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
uspdavgmean_wind_speed_in_boundary_layeraverage wind speed within the boundary layerm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
hpbl_thetavatmosphere_boundary_layer_thickness_from_modified_parcelpbl height based on modified parcel methodmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
drydep_flux_outdry_deposition_fluxrrfs dry deposition fluxug m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_chemical_species_deposited)kind_physinout
wetdprmp_wet_deposition_smoke_dustlarge scale wet deposition of smoke and dustkg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_chemical_species_vertically_mixed)kind_physinout
hwphourly_wildfire_potentialrrfs hourly fire weather potentialnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
hwp_avehourly_wildfire_potential_averagerrfs hourly fire weather potential averagenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
wetnessnormalized_soil_wetness_for_land_surface_modelnormalized soil wetnessfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
ndvelnumber_of_chemical_species_depositednumber of chemical pbl depositedcountinteger()in
ddvel_inoutdry_deposition_velocity_mynn_pbl_transportdry deposition velocity by mynn pbl transportm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_chemical_species_deposited)kind_physinout
peak_hr_outpeak_hr_firetime_of_peak_fire_emissionssreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
lu_nofire_outsum_of_land_use_fractions_for_no_fire_pixelsland use of no fire pixels for type1real(ccpp_constant_one:horizontal_loop_extent)kind_physout
lu_qfire_outsum_of_land_use_fractions_for_cropland_fire_pixelsland use of fire pixels for type1real(ccpp_constant_one:horizontal_loop_extent)kind_physout
fire_heat_flux_outsurface_fire_heat_fluxheat flux of fire at the surfaceW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
frac_grid_burned_outfraction_of_grid_cell_burningration of the burnt area to the grid cell areafracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
oroheight_above_mean_sea_levelheight_above_mean_sea_levelmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
smoke_firesmoke_emission_of_firesmoke emission of firekg m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
totprcpaccumulated_lwe_thickness_of_precipitation_amountaccumulated total precipitationmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
cpl_firedo_fire_couplingflag controlling fire_behavior collection (default off)flaglogical()in
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

rrfs-sd Scheme General Algorithm

– Local Variables

  • sea salt & chemistry variables

– indexes, time

  • dust & chemistry variables
  • plume variables
  • optical variables

– anthropogentic variables

– parameter to caluclate wfa&ifa (m)

– aerosol density (kg/m3)

– other

  • get ready for chemistry run
  • compute sea-salt

– compute coarsepm setting if using simple dry dep option and

– compute dry deposition, based on Emerson et al., (2020)

– compute dry deposition based on simple parameterization (HRRR-Smoke)

  • large-scale wet deposition