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 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.
Active bindings
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.
can_write(read-only) Is the resource writable?
Methods
Method new()
Create a connection to a netCDF resource. This is called by
open_ncdf() when opening a netCDF resource or when saving a dataset
to file. You should never have to call this directly.
Usage
NCResource$new(uri, write)Method print()
Print a summary of the netCDF resource to the console.
Method close()
Closing an open netCDF resource. It should rarely be necessary to call this method directly.
Method 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.