Skip to content

Commit 032e2b4

Browse files
committed
updates check on pbl index not found
1 parent b7289da commit 032e2b4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/eam/src/physics/cam/od_common.F90

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,8 @@ function pblh_get_level_idx(height_array,pblheight)
400400
endif
401401
enddo
402402

403-
if (.not. found) then
404-
print *, 'error, pbl not found'
405-
print *, height_array
406-
print *, pblheight
407-
stop
408-
endif
403+
if (.not.found) call endrun('ERROR - pblh_get_level_idx: pbl top index not found')
404+
409405
end function
410406

411407
!==========================================================================

0 commit comments

Comments
 (0)