Skip to content

Commit

Permalink
Remove unneeded 'if' statement from 'qc_orog_by_ramp'.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Jan 10, 2025
1 parent 2dc24d6 commit 92b232a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sorc/orog_mask_tools.fd/orog.fd/io_utils.F90
Original file line number Diff line number Diff line change
Expand Up @@ -708,11 +708,9 @@ subroutine qc_orog_by_ramp(imn, jmn, zavg, zslm)

do j = 1, jramp
do i = 1, IMN
if( GICE(i,j) .ne. -99. .and. GICE(i,j) .ne. -1.0 ) then
if ( GICE(i,j) .gt. 0.) then
ZAVG(i,j) = int( GICE(i,j) + 0.5 )
ZSLM(i,j) = 1
endif
if ( GICE(i,j) .gt. 0.) then
ZAVG(i,j) = int( GICE(i,j) + 0.5 )
ZSLM(i,j) = 1
endif
enddo
enddo
Expand Down

0 comments on commit 92b232a

Please sign in to comment.