gdncfiledatamode.f90
Go to the documentation of this file.
1 integer function gdncfiledatamode(fileid) result(result)
2  use netcdf, only: nf90_enddef, nf90_enotindefine, nf90_noerr
3  use dc_trace, only: dbgmessage
4  implicit none
5  integer, intent(in):: fileid
6  character(*), parameter:: subname = "GDNcFileDataMode"
7 continue
8  call dbgmessage(subname)
9  result = nf90_enddef(fileid)
10  if (result == nf90_enotindefine) result = nf90_noerr
11 end function gdncfiledatamode
subroutine, public dbgmessage(fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:509
integer function gdncfiledatamode(fileid)