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

◆ sol_update()

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,
real (kind=kind_phys), intent(in) con_pi,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )
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()
  1. Call prtime()

Definition at line 328 of file radiation_astronomy.f.

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

Here is the call graph for this function: