Skip to content

Commit

Permalink
HAILCAST fix (#1154)
Browse files Browse the repository at this point in the history
* Checking for undefined values before passing through 1-h max HAILCAST output

* Correcting bug.
  • Loading branch information
EricJames-NOAA authored Mar 1, 2025
1 parent b37e67e commit d62984b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sorc/ncep_post.fd/MDL2AGL.f
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,9 @@ SUBROUTINE MDL2AGL
IF((IGET(728)>0) )THEN
DO J=JSTA,JEND
DO I=ISTA,IEND
IF(HAIL_MAXHAILCAST(I,J)<SPVAL)THEN
GRID1(I,J)=HAIL_MAXHAILCAST(I,J)/1000.0 ! convert mm to m
ENDIF
ENDDO
ENDDO
if(grib=='grib2') then
Expand Down

0 comments on commit d62984b

Please sign in to comment.