NASA Logo
Ocean Color Science Software

ocssw V2022
cld_fchk.f90
Go to the documentation of this file.
1 SUBROUTINE cld_fchk( status, file, line )
2 !
3 ! to check the status returns from the nf_ netcdf calls
4 !
5 integer, intent (in) :: status, line
6 character(*), intent (in) :: file
7  if( status .ne. 0 ) then
8  print*, "Code failure, file: ", file, ' Line: ', line, ' Status: ', status
9  stop 10
10  endif
11 return
12 end
subroutine cld_fchk(status, file, line)
Definition: cld_fchk.f90:2
void print(std::ostream &stream, const char *format)
Definition: PrintDebug.hpp:38