610 |
O solz) |
O solz) |
611 |
|
|
612 |
#else /* not DAR_RADTRANS_USE_MODEL_CALENDAR */ |
#else /* not DAR_RADTRANS_USE_MODEL_CALENDAR */ |
613 |
C use calendar date for full solar zenith angle computation |
C Use calendar date for full solar zenith angle computation. |
614 |
C oj: average light effective at noon? |
C Use local noon zenith angle to avoid problems with zero cosine and |
615 |
solz = 0.0 _d 0 |
C non-zero light. One should really use a zenith angle compatible with |
616 |
isec = 12*3600 |
C the light fields, in particular averaged over the same time period. |
617 |
|
isec = MOD(36.*3600. - 240.*XC(i,j,bi,bj), 86400.) |
618 |
call radtrans_sfcsolz(rad,iyr,imon,iday,isec, |
call radtrans_sfcsolz(rad,iyr,imon,iday,isec, |
619 |
I XC(i,j,bi,bj),YC(i,j,bi,bj), |
I XC(i,j,bi,bj),YC(i,j,bi,bj), |
620 |
O solz) |
O solz) |