CCPP Scientific Documentation
v5.0.0
subroutine, public module_radiation_astronomy::sol_update ( integer, dimension(:), intent(in)  jdate,
integer, intent(in)  kyear,
real (kind=kind_phys), intent(in)  deltsw,
real (kind=kind_phys), intent(in)  deltim,
logical, intent(in)  lsol_chg,
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
jdatencep absolute date and time at fcst time (yr, mon, day, t-zone, hr, min, sec, mil-sec)
kyearusually kyear=jdate(1). if not, it is for hindcast mode, and it is usually the init cond time and serves as the upper limit of data can be used.
deltswtime duration in seconds per sw calculation
deltimtimestep in seconds
lsol_chglogical flags for change solar constant
meprint message control flag
slagequation of time in radians
sdec,cdecsin and cos of the solar declination angle
solconsun-earth distance adjusted solar constant \((w/m^2)\)

sol_update General Algorithm

  1. Call solar()
  2. Call prtime()

References anginc, cosdec, f3600, isolflg, iyr_sav, nstp, pid12, prtime(), sindec, smon_sav, solar(), solar_fname, solc0, and sollag.

Referenced by gfs_rrtmg_setup::radupdate().

Here is the call graph for this function: