Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix in tcdc on isobaric levels #540

Merged
merged 5 commits into from
Aug 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions sorc/ncep_post.fd/MDL2P.f
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
!> 2021-03-11 | B Cui | Change local arrays to dimension (im,jsta:jend)
!> 2021-04-01 | J Meng | Computation on defined points only
!> 2021-07-07 | J MENG | 2D DECOMPOSITION
!> 2022-08-03 | W Meng | Modify total cloud fraction(331)
!>
!> @author T Black W/NP2 @date 1999-09-23
SUBROUTINE MDL2P(iostatusD3D)
Expand Down Expand Up @@ -1316,9 +1317,9 @@ SUBROUTINE MDL2P(iostatusD3D)
DO J=JSTA,JEND
DO I=ISTA,IEND
GRID1(I,J) = SPVAL
CFRSL(I,J) = MIN(MAX(0.0,CFRSL(I,J)),1.0)
IF(abs(CFRSL(I,J)-SPVAL) > SMALL) &
WenMeng-NOAA marked this conversation as resolved.
Show resolved Hide resolved
GRID1(I,J) = CFRSL(I,J)*H100
CFRSL(I,J) = MIN(MAX(0.0,CFRSL(I,J)),1.0)
GRID1(I,J) = CFRSL(I,J)*H100
ENDDO
ENDDO
if(grib == 'grib2')then
Expand Down