Skip to content

Commit

Permalink
The bug fix of scattering calculation from Kate Zhang. (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenMeng-NOAA authored Apr 23, 2020
1 parent 107e342 commit a5942e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorc/ncep_post.fd/CALPW.f
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ SUBROUTINE CALPW(PW,IDECID)
DO I=1,IM
DP = PINT(I,J,L+1) - PINT(I,J,L)
PW(I,J) = PW(I,J) + Qdum(I,J)*DP*GI*HTM(I,J,L)
IF (IDECID == 17) THEN
IF (IDECID == 17 .or. IDECID == 21) THEN
PW(I,J) = PW(I,J) + Qdum(I,J)*MAX(DP,0.)*GI*HTM(I,J,L)
ENDIF
IF (IDECID == 19) THEN
Expand Down

0 comments on commit a5942e7

Please sign in to comment.