CCPP SciDoc  v6.0.0
Common Community Physics Package Developed at DTC

◆ coszmn()

subroutine, public module_radiation_astronomy::coszmn ( real (kind=kind_phys), dimension(:), intent(in)  xlon,
real (kind=kind_phys), dimension(:), intent(in)  sinlat,
real (kind=kind_phys), dimension(:), intent(in)  coslat,
real (kind=kind_phys), intent(in)  solhr,
integer, intent(in)  IM,
integer, intent(in)  me,
real (kind=kind_phys), dimension(:), intent(out)  coszen,
real (kind=kind_phys), dimension(:), intent(out)  coszdg 
)
Parameters
xlongrids' longitudes in radians, work both on zonal, 0->2pi and -pi->+pi arrangements
sinlatsine of the corresponding latitudes
coslatcosine of the corresponding latitudes
solhrtime after 00z in hours
IMnum of grids in horizontal dimension
meprint message control flag
coszenaverage of cosz for daytime only in sw call interval
coszdgaverage of cosz over entire sw call interval

coszmn General Algorithm

References anginc, cosdec, czlimt, f12, nstp, pid12, sindec, and sollag.

Referenced by gfs_rrtmg_pre::gfs_rrtmg_pre_run().

Here is the caller graph for this function: