Close a netCDF File
Closes an open netCDF file, which flushes any unwritten data to disk. Always close a netCDF file when you are done with it! You are risking data loss otherwise.
nc_close( nc )
Data written to a netCDF file is cached in memory, for better performance. This data is only written out to disk when the file is closed. Therefore, always remember to close a netCDF file when done with it.
David W. Pierce dpierce@ucsd.edu
http://dwpierce.com/software
## Not run: nc <- nc_open("salinity.nc") ## Not run: data <- ncvar_get( nc ) # Read the "only" var in the file ## Not run: nc_close(nc)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.