Skip to content

Commit

Permalink
Add the wafs fix from Yali. (NOAA-EMC#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenMeng-NOAA committed Jul 20, 2020
1 parent 41ed232 commit 427fa51
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions sorc/ncep_post.fd/MDL2STD_P.f
Original file line number Diff line number Diff line change
Expand Up @@ -520,22 +520,22 @@ SUBROUTINE MDL2STD_P()
deallocate(QTYPE)
ENDIF

ENDIF

! Relabel the pressure level to reference levels
IDS = 0
IDS = (/ 450,480,464,465,466,518,519,520,521,522,523,524,525,(I,I=14,50) /)
do i = 1, NFDMAX
iID=IDS(i)
if(iID == 0) exit
N = IAVBLFLD(IGET(iID))
NFDCTL=size(pset%param(N)%level)
do j = 1, NFDCTL
pset%param(N)%level(j) = relabel(pset%param(N)%level(j))
! Relabel the pressure level to reference levels
IDS = 0
IDS = (/ 450,480,464,465,466,518,519,520,521,522,523,524,525,(I,I=14,50) /)
do i = 1, NFDMAX
iID=IDS(i)
if(iID == 0) exit
N = IAVBLFLD(IGET(iID))
NFDCTL=size(pset%param(N)%level)
do j = 1, NFDCTL
pset%param(N)%level(j) = relabel(pset%param(N)%level(j))
end do
end do
end do

iID=450
ENDIF

!
! END OF ROUTINE.
!
Expand Down

0 comments on commit 427fa51

Please sign in to comment.