pbdNCDF4 (version 0.1-4)

nc_enddef: Takes a netCDF file out of define mode

Description

Changes a netCDF that is currently in define mode back into data mode.

Usage

nc_enddef( nc )

Arguments

nc
An object of class ncdf4 (as returned by either function nc_open or function nc_create, indicating what file to operate upon.

Details

NOTE: typical users will never need to use this function.

NetCDF files can be in "define mode", at which time dimensions and variables can be defined, or new attributes added to a file, or in "data mode", at which time data can be read from the file. This call puts a file that is currently in define mode back into data mode. The ncdf4 package manages this process transparently, so normally, an end user will not need to call this explicitly.

References

http://dwpierce.com/software

See Also

nc_redef.

Examples

Run this code
# This function is for advanced useage only, and will never
# be needed by the typical users R code.

Run the code above in your browser using DataLab