cfdm.AggregatedArray.open

AggregatedArray.open(func, options=None, create_filesystem=True)[source]

Return a dataset file object and address.

Added in version (cfdm): 1.10.1.0

Parameters:
func: callable

Function that opens a file.

options: dict, optional

Arguments to func.

create_filesystem: bool, optional

If True (the default) then attempt to create a file system if one has not been provided. Note that a file system will not be created for a local dataset.

If there is no file system then the dataset as returned by get_filename is passed directly to func.

Ignored if get_filename does not return a string.

Added in version (cfdm): 1.13.3.0

Returns:
2-tuple

The object representing the whole dataset, and the address of the data array within the dataset.