ocean_merge  1.13.0
All Files Functions Pages
utils.F90
1 
6 subroutine handle_err (ret)
7  use netcdf
8  implicit none
9  integer, intent(in) :: ret
10 
11  if (ret /= nf90_noerr) then
12  write(6,*) '- FATAL ERROR.'
13  write(6,*) nf90_strerror(ret)
14  stop 999
15  end if
16 end subroutine handle_err