This class contains the connection details to a netCDF resource.
There is a single instance of this class for every netCDF resource, owned by the CFDataset instance. The instance is shared by other objects, specifically NCGroup and CFVariable instances, for access to the underlying resource for reading of data.
This class should never have to be accessed directly. All access is handled by higher-level methods.
error
Error message, or empty string.
friendlyClassName
(read-only) A nice description of the class.
handle
(read-only) The handle to the netCDF resource.
uri
(read-only) The URI of the netCDF resource, either a local filename or the location of an online resource.
new()
Create a connection to a netCDF resource. This is called by
open_ncdf()
when opening a netCDF resource; you should never have to
call this directly.
CFResource$new(uri)
uri
The URI to the netCDF resource.
An instance of this class.
close()
Closing an open netCDF resource. It should rarely be necessary to call this method directly.
CFResource$close()
group_handle()
Every group in a netCDF file has its own handle, with the "root" group having the handle for the entire netCDF resource. The handle returned by this method is valid only for the named group.
CFResource$group_handle(group_name)
group_name
The absolute path to the group.
The handle to the group.
clone()
The objects of this class are cloneable with this method.
CFResource$clone(deep = FALSE)
deep
Whether to make a deep clone.