I'm now getting a problem when the sun is very near the horizon (December in the Chukchi Sea). In the code:
cff=(cff1*ACOS(-cff1/cff2)+SQRT(cff2*cff2-cff1*cff1))/pi
srflx(i,j)=MAX(0.0_r8, &
& srflx(i,j)/cff* &
& (cff1+cff2*COS(Hangle-lonr(i,j)*deg2rad))) I have
cff=-1.5890952880675496E-013 ...
Search found 1 match
- Fri Jan 09, 2015 10:14 am
- Forum: ROMS Discussion
- Topic: Problem with diurnal cycle of shortwave radiation
- Replies: 4
- Views: 3384