CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ rrtmgp_sw_main_run()

subroutine, public rrtmgp_sw_main::rrtmgp_sw_main_run ( logical, intent(in) doswrad,
logical, intent(in) doswclrsky,
logical, intent(in) top_at_1,
logical, intent(in) dogp_sgs_cnv,
logical, intent(in) dogp_sgs_pbl,
integer, intent(in) ncol,
integer, intent(in) nday,
integer, intent(in) nlay,
integer, intent(in) ngases,
integer, intent(in) rrtmgp_phys_blksz,
integer, dimension(:), intent(in) idx,
integer, dimension(:), intent(in), optional icseed_sw,
integer, intent(in) iovr,
integer, intent(in) iovr_convcld,
integer, intent(in) iovr_max,
integer, intent(in) iovr_maxrand,
integer, intent(in) iovr_rand,
integer, intent(in) iovr_dcorr,
integer, intent(in) iovr_exp,
integer, intent(in) iovr_exprand,
integer, intent(in) isubc_sw,
integer, intent(in) isfc,
real(kind_phys), dimension(:), intent(in) sfc_alb_nir_dir,
real(kind_phys), dimension(:), intent(in) sfc_alb_nir_dif,
real(kind_phys), dimension(:), intent(in) sfc_alb_uvvis_dir,
real(kind_phys), dimension(:), intent(in) sfc_alb_uvvis_dif,
real(kind_phys), dimension(:), intent(in) coszen,
real(kind_phys), dimension(:,:), intent(in), optional p_lay,
real(kind_phys), dimension(:,:), intent(in), optional p_lev,
real(kind_phys), dimension(:,:), intent(in), optional t_lay,
real(kind_phys), dimension(:,:), intent(in), optional t_lev,
real(kind_phys), dimension(:,:), intent(in), optional vmr_o2,
real(kind_phys), dimension(:,:), intent(in), optional vmr_h2o,
real(kind_phys), dimension(:,:), intent(in), optional vmr_o3,
real(kind_phys), dimension(:,:), intent(in), optional vmr_ch4,
real(kind_phys), dimension(:,:), intent(in), optional vmr_n2o,
real(kind_phys), dimension(:,:), intent(in), optional vmr_co2,
real(kind_phys), dimension(:,:), intent(in) cld_frac,
real(kind_phys), dimension(:,:), intent(in) cld_lwp,
real(kind_phys), dimension(:,:), intent(in) cld_reliq,
real(kind_phys), dimension(:,:), intent(in) cld_iwp,
real(kind_phys), dimension(:,:), intent(in) cld_reice,
real(kind_phys), dimension(:,:), intent(in) cld_swp,
real(kind_phys), dimension(:,:), intent(in) cld_resnow,
real(kind_phys), dimension(:,:), intent(in) cld_rwp,
real(kind_phys), dimension(:,:), intent(in) cld_rerain,
real(kind_phys), dimension(:,:), intent(in), optional precip_frac,
real(kind_phys), dimension(:,:), intent(in), optional cld_cnv_lwp,
real(kind_phys), dimension(:,:), intent(in), optional cld_cnv_reliq,
real(kind_phys), dimension(:,:), intent(in), optional cld_cnv_iwp,
real(kind_phys), dimension(:,:), intent(in), optional cld_cnv_reice,
real(kind_phys), dimension(:,:), intent(in), optional cld_pbl_lwp,
real(kind_phys), dimension(:,:), intent(in), optional cld_pbl_reliq,
real(kind_phys), dimension(:,:), intent(in), optional cld_pbl_iwp,
real(kind_phys), dimension(:,:), intent(in), optional cld_pbl_reice,
real(kind_phys), dimension(:,:), intent(in), optional cloud_overlap_param,
character(len=*), dimension(:), intent(in), optional active_gases_array,
real(kind_phys), dimension(:,:,:), intent(in) aersw_tau,
real(kind_phys), dimension(:,:,:), intent(in) aersw_ssa,
real(kind_phys), dimension(:,:,:), intent(in) aersw_g,
real(kind_phys), intent(in) solcon,
type(cmpfsw_type), dimension(:), intent(inout) scmpsw,
real(kind_phys), dimension(:,:), intent(inout), optional fluxswup_allsky,
real(kind_phys), dimension(:,:), intent(inout), optional fluxswdown_allsky,
real(kind_phys), dimension(:,:), intent(inout), optional fluxswup_clrsky,
real(kind_phys), dimension(:,:), intent(inout), optional fluxswdown_clrsky,
real(kind_phys), dimension(:,:), intent(inout) cldtausw,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

rrtmgp_sw_main_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
doSWradflag_for_calling_shortwave_radiationlogical flags for sw radiation callsflaglogical()in
doSWclrskyflag_for_output_of_tendency_of_air_temperature_due_to_shortwave_heating_on_radiation_timestep_assuming_clear_skyflag to output sw heating rate (Radtend%swhc)flaglogical()in
top_at_1flag_for_vertical_ordering_in_radiationflag for vertical ordering in radiationflaglogical()in
iSFCvertical_index_for_surface_in_rrtmgpindex for surface layer in RRTMGPflaginteger()in
doGP_sgs_cnvflag_to_include_sgs_convective_cloud_in_rrtmgplogical flag to control sgs convective cloud in RRTMGPflaglogical()in
doGP_sgs_pblflag_to_include_sgs_mynn_edmf_cloud_in_rrtmgplogical flag to control MYNN-EDMF PBL cloud in RRTMGPflaglogical()in
ncolhorizontal_loop_extenthorizontal dimensioncountinteger()in
nLayvertical_layer_dimensionnumber of vertical levelscountinteger()in
rrtmgp_phys_blksznumber_of_columns_per_rrtmgp_sw_blocknumber of columns to process at a time by RRTMGP SW schemecountinteger()in
nGasesnumber_of_active_gases_used_by_rrtmgpnumber of gases available used by RRTMGP (Model%nGases)countinteger()in
ndaydaytime_points_dimensiondaytime points dimensioncountinteger()in
idxdaytime_pointsdaytime pointsindexinteger(ccpp_constant_one:horizontal_loop_extent)in
coszencosine_of_solar_zenith_angle_for_daytime_points_on_radiation_timestepmean cos of zenith angle over rad call periodnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
isubc_swflag_for_sw_clouds_grid_approximationflag for sw clouds sub-grid approximationflaginteger()in
iovrflag_for_cloud_overlap_method_for_radiationmax-random overlap cloudsflaginteger()in
iovr_maxrandflag_for_maximum_random_cloud_overlap_methodchoice of maximum-random cloud overlap methodflaginteger()in
iovr_dcorrflag_for_decorrelation_length_cloud_overlap_methodchoice of decorrelation-length cloud overlap methodflaginteger()in
iovr_expflag_for_exponential_cloud_overlap_methodchoice of exponential cloud overlap methodflaginteger()in
iovr_exprandflag_for_exponential_random_cloud_overlap_methodchoice of exponential-random cloud overlap methodflaginteger()in
iovr_randflag_for_random_cloud_overlap_methodchoice of random cloud overlap methodflaginteger()in
iovr_maxflag_for_maximum_cloud_overlap_methodchoice of maximum cloud overlap methodflaginteger()in
iovr_convcldflag_for_convective_cloud_overlap_method_for_radiationflag for convective cloud overlap methodflaginteger()in
icseed_swrandom_number_seed_for_mcica_shortwaveseed for random number generation for shortwave radiationnoneinteger(ccpp_constant_one:horizontal_loop_extent)in
p_layair_pressure_at_layer_for_rrtmgpair pressure at vertical layer for radiation calculationPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
p_levair_pressure_at_interface_for_rrtmgpair pressure at vertical interface for radiation calculationPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
t_layair_temperature_at_layer_for_rrtmgpair temperature at vertical layer for radiation calculationKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
t_levair_temperature_at_interface_for_rrtmgpair temperature at vertical interface for radiation calculationKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
vmr_o2volume_mixing_ratio_for_o2molar mixing ratio of o2 in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
vmr_h2ovolume_mixing_ratio_for_h2omolar mixing ratio of h2o in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
vmr_o3volume_mixing_ratio_for_o3molar mixing ratio of o3 in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
vmr_ch4volume_mixing_ratio_for_ch4molar mixing ratio of ch4 in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
vmr_n2ovolume_mixing_ratio_for_n2omolar mixing ratio of n2o in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
vmr_co2volume_mixing_ratio_for_co2molar mixing ratio of co2 in with respect to dry air1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_fractotal_cloud_fractionlayer total cloud fractionfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_lwpcloud_liquid_water_pathlayer cloud liquid water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_reliqmean_effective_radius_for_liquid_cloudmean effective radius for liquid cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_iwpcloud_ice_water_pathlayer cloud ice water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_reicemean_effective_radius_for_ice_cloudmean effective radius for ice cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_swpcloud_snow_water_pathlayer cloud snow water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_resnowmean_effective_radius_for_snow_flakemean effective radius for snow cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_rwpcloud_rain_water_pathlayer cloud rain water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_rerainmean_effective_radius_for_rain_dropmean effective radius for rain cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
precip_fracprecipitation_fraction_by_layerprecipitation fraction in each layerfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_cnv_lwpconvective_cloud_liquid_water_pathlayer convective cloud liquid water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_cnv_iwpconvective_cloud_ice_water_pathlayer convective cloud ice water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_cnv_reliqmean_effective_radius_for_liquid_convective_cloudmean effective radius for liquid convective cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_cnv_reicemean_effective_radius_for_ice_convective_cloudmean effective radius for ice convective cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_pbl_lwpmynn_sgs_cloud_liquid_water_pathlayer convective cloud liquid water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_pbl_iwpmynn_sgs_cloud_ice_water_pathlayer convective cloud ice water pathg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_pbl_reliqmean_effective_radius_for_liquid_mynn_sgs_cloudmean effective radius for liquid MYNN_SGS cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cld_pbl_reicemean_effective_radius_for_ice_mynn_sgs_cloudmean effective radius for ice MYNN_SGS cloudumreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
cloud_overlap_paramcloud_overlap_paramcloud overlap parameterkmreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
sfc_alb_nir_dirsurface_albedo_due_to_near_ir_directsurface albedo due to near IR direct beamfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfc_alb_nir_difsurface_albedo_due_to_near_ir_diffusedsurface albedo due to near IR diffused beamfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfc_alb_uvvis_dirsurface_albedo_due_to_uv_and_vis_directsurface albedo due to UV+VIS direct beamfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfc_alb_uvvis_difsurface_albedo_due_to_uv_and_vis_diffusedsurface albedo due to UV+VIS diffused beamfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
active_gases_arraylist_of_active_gases_used_by_rrtmgplist of active gases used by RRTMGPnonecharacter(ccpp_constant_one:number_of_active_gases_used_by_RRTMGP)len=*in
aersw_tauaerosol_optical_depth_for_shortwave_bands_01_16aerosol optical depth for shortwave bands 01-16nonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_aerosol_bands_for_shortwave_radiation)kind_physin
aersw_ssaaerosol_single_scattering_albedo_for_shortwave_bands_01_16aerosol single scattering albedo for shortwave bands 01-16fracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_aerosol_bands_for_shortwave_radiation)kind_physin
aersw_gaerosol_asymmetry_parameter_for_shortwave_bands_01_16aerosol asymmetry parameter for shortwave bands 01-16nonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_aerosol_bands_for_shortwave_radiation)kind_physin
solconsolar_constantsolar constantW m-2real()kind_physin
scmpswcomponents_of_surface_downward_shortwave_fluxesderived type for special components of surface downward shortwave fluxesW m-2cmpfsw_type(ccpp_constant_one:horizontal_loop_extent)cmpfsw_typeinout
fluxswUP_allskyrrtmgp_sw_flux_profile_upward_allskyRRTMGP upward shortwave all-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physinout
fluxswDOWN_allskyrrtmgp_sw_flux_profile_downward_allskyRRTMGP downward shortwave all-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physinout
fluxswUP_clrskyrrtmgp_sw_flux_profile_upward_clrskyRRTMGP upward shortwave clr-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physinout
fluxswDOWN_clrskyrrtmgp_sw_flux_profile_downward_clrskyRRTMGP downward shortwave clr-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physinout
cldtauswcloud_optical_depth_layers_at_0p55mu_bandapprox .55mu band layer cloud optical depthnonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

Definition at line 83 of file rrtmgp_sw_main.F90.