CCPP Scientific Documentation
v5.0.0
subroutine gfs_rrtmg_setup::radupdate ( integer, dimension(:), intent(in)  idate,
integer, dimension(:), intent(in)  jdate,
real (kind=kind_phys), intent(in)  deltsw,
real (kind=kind_phys), intent(in)  deltim,
logical, intent(in)  lsswr,
integer, intent(in)  me,
real (kind=kind_phys), intent(out)  slag,
real (kind=kind_phys), intent(out)  sdec,
real (kind=kind_phys), intent(out)  cdec,
real (kind=kind_phys), intent(out)  solcon 
)
Parameters
idateNCEP absolute date and time of intial condition (year,month,day,time-zone,hour,minute,second, mil-second)
jdateNCEP absolute date and time at forecast time (year,month,day,time-zone,hour,minute,second, mil-second)
deltswSW radiation calling time interval in seconds
deltimmodel advancing time-step duration in seconds
lsswrlogical control flag for SW radiation calculations
meprint control flag
slagequation of time in radians
sdec,cdecsine and cosine of the solar declination angle
solconsolar constant adjusted by sun-earth distance \((W/m^2)\)

General Algorithm

  1. Set up time stamp at fcst time and that for green house gases (currently co2 only)
  2. Call module_radiation_astronomy::sol_update(), yearly update, no time interpolation.
  3. Call module_radiation_aerosols::aer_update(), monthly update, no time interpolation
  4. Call co2 and other gases update routine: module_radiation_gases::gas_update()
  5. Call surface update routine (currently not needed)
  6. Call clouds update routine (currently not needed)

References module_radiation_aerosols::aer_update(), module_radiation_gases::gas_update(), physparam::ictmflg, physparam::isolar, iyear0, loz1st, month0, monthd, and module_radiation_astronomy::sol_update().

Referenced by gfs_rrtmg_setup_run().

Here is the call graph for this function: