Close a netCDF file . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncfileclose (fileid, err) |
Close a netCDF file
.
Definition in file gdncfileclose.f90.
| subroutine gdncfileclose | ( | integer, intent(in) | fileid, |
| logical, intent(out), optional | err | ||
| ) |
Close a netCDF file
Decrements the reference count of the specified file ID. When the reference count reaches zero, the file is actually closed using nf90_close and removed from the internal file list.
| [in] | fileid | netCDF file ID |
| [out] | err | Error flag (optional) |
Definition at line 37 of file gdncfileclose.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_trace::endsub(), gtdata_netcdf_file_internal::id_head, gtdata_netcdf_file_internal::id_used, and dc_error::storeerror().