CCPP Scientific Documentation
v5.0.0
subroutine rrtmg_sw_pre::rrtmg_sw_pre_run ( type(gfs_control_type), intent(in)  Model,
type(gfs_grid_type), intent(in)  Grid,
type(gfs_sfcprop_type), intent(in)  Sfcprop,
type(gfs_radtend_type), intent(inout)  Radtend,
integer, intent(in)  im,
integer, intent(out)  nday,
integer, dimension(size(grid%xlon,1)), intent(out)  idxday,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(in)  tsfg,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(in)  tsfa,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(out)  sfcalb1,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(out)  sfcalb2,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(out)  sfcalb3,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(out)  sfcalb4,
real(kind=kind_phys), dimension(size(grid%xlon,1)), intent(in)  alb1d,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

rrtmg_sw_pre_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintentoptional
ModelGFS_control_type_instanceFortran DDT containing FV3-GFS model control parametersDDTGFS_control_type()inFalse
GridGFS_grid_type_instanceFortran DDT containing FV3-GFS grid and interpolation related dataDDTGFS_grid_type()inFalse
SfcpropGFS_sfcprop_type_instanceFortran DDT containing FV3-GFS surface fieldsDDTGFS_sfcprop_type()inFalse
RadtendGFS_radtend_type_instanceFortran DDT containing FV3-GFS radiation tendenciesDDTGFS_radtend_type()inoutFalse
imhorizontal_loop_extenthorizontal loop extentcountinteger()inFalse
ndaydaytime_points_dimensiondaytime points dimensioncountinteger()outFalse
idxdaydaytime_pointsdaytime pointsindexinteger(horizontal_dimension)outFalse
tsfgsurface_ground_temperature_for_radiationsurface ground temperature for radiationKreal(horizontal_dimension)kind_physinFalse
tsfasurface_air_temperature_for_radiationlowest model layer air temperature for radiationKreal(horizontal_dimension)kind_physinFalse
sfcalb1surface_albedo_due_to_near_IR_directsurface albedo due to near IR direct beamfracreal(horizontal_dimension)kind_physoutFalse
sfcalb2surface_albedo_due_to_near_IR_diffusedsurface albedo due to near IR diffused beamfracreal(horizontal_dimension)kind_physoutFalse
sfcalb3surface_albedo_due_to_UV_and_VIS_directsurface albedo due to UV+VIS direct beamfracreal(horizontal_dimension)kind_physoutFalse
sfcalb4surface_albedo_due_to_UV_and_VIS_diffusedsurface albedo due to UV+VIS diffused beamfracreal(horizontal_dimension)kind_physoutFalse
alb1dsurface_albedo_perturbationsurface albedo perturbationfracreal(horizontal_dimension)kind_physinFalse
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*outFalse
errflgccpp_error_flagerror flag for error handling in CCPPflaginteger()outFalse
  1. Start SW radiation calculations
  2. Approximate mean surface albedo from vis- and nir- diffuse values.

References module_radiation_surface::nf_albd, and module_radiation_surface::setalb().

Here is the call graph for this function: