ctcheng@climate_cestm_albany_edu
New Member
Does anyone ever encounter the problem in calculating shortwave radiation? In the subroutine raddedmx, the calculations of alpha (Eq.4.215 in CAM description document) and gamma (4.216) involve the operation of *1./(1-lm**2*coszrs**2), where coszrs is cos of zenith angle and lm=sqrt(3(1.-ws)(1.-ws*gs)) (see Eq.4.219) Therefore, lm can not be equal to 1/coszrs otherwise Inf value will be calculated to crash the model.
I am not familar with the detail of radiation stuff. Does anyone know if lm is definitely smaller than 1 so (1.-lm*coszrs) will definitely not be zero?
I am not familar with the detail of radiation stuff. Does anyone know if lm is definitely smaller than 1 so (1.-lm*coszrs) will definitely not be zero?