Skip to content

Commit

Permalink
Fix for seg fault in forecast step with GEFS.
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaholtNOAA authored and LarissaReames-NOAA committed Apr 21, 2021
1 parent 2a73d8c commit 0c0ff98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sorc/chgres_cube.fd/surface.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3939,6 +3939,10 @@ subroutine qc_check
do j = clb(2), cub(2)
do i = clb(1), cub(1)
if (veg_greenness_ptr(i,j) <= 0.01) data_ptr(i,j) = 0.0
if (data_ptr(i,j) > 0.5) then
print*,"- ZERO OUT TARGET GRID CANOPY MOISTURE CONTENT WITH UNREALISTIC VALUES"
data_ptr(i,j) = 0.0
endif
enddo
enddo

Expand Down

0 comments on commit 0c0ff98

Please sign in to comment.