

The upshot is, look in the ncdf4 object or its children to get information about To the explicit netCDF query functions, such as "nc_inq_nvars" or "nc_inq_natts". The entire contents of the file's metadata. Ncdf object's "var" list, completely describe the netCDF file. In the ncdf object's "dim" list and the ncvar4 objects contained in the Returned by this function, as well as the list of ncdim4 objects contained The concept behind the R interface to a netCDF file is that the ncdf4 object Was opened with write=TRUE or write=FALSE. Ncvar4 8) writable, which is TRUE or FALSE, depending on whether the file Objects of class ncdim4 7) var, which is a list of objects of class The unlimited dimension, or -1 if there is none 6) dim, which is a list of Global attributes 5) unlimdimid, which is an integer holding the dimension id of (aka dimensional variables) 4) natts, which is an integer holding the number of Holding the number of the variables in the file that are NOT coordinate variables Integer holding the number of dimensions in the file 3) nvars, which is an integer Which is a character string holding the name of the file 2) ndims, which is an This class has the following user-accessible fields, all of which are read-only: 1) filename, Is read in and stored in the returned object, which is of class ncdf4. In addition to simply opening the file, information about the file and its contents To create a new netCDF file, use nc_create instead. This routine opens an existing netCDF file for reading (or, if write=TRUE, for writing). If return_on_error is FALSE (the default), nc_open halts with an error message if an error is encountered. If TRUE, then nc_open always returns, and returned listĮlement $error will be TRUE if an error was encountered and FALSE if no error was encountered. This if there are so many dimensional values that a out-of-memory error is generated). If TRUE, then NO dimensional values are automatically read in from the file. If TRUE, then GMT files are automatically detected. If TRUE, then messages are printed out during execution of this function. If set to FALSE, the values for the unlimited dimension are notĪutomatically read in (they can be read in later, manually, using ncvar_get()). This can be slow for a large file with a long unlimitedĭimension. When invoked, this function reads in the values of all dimensions from If TRUE, then writing to the file is allowed. If FALSE (default), then the file is opened read-only. Name of the existing netCDF file to be opened. Nc_open ( filename, write = FALSE, readunlim = TRUE, verbose = FALSE, auto_GMT = TRUE, suppress_dimvals = FALSE, return_on_error = FALSE )
