cfdm.NetCDFArray.get_address

NetCDFArray.get_address(default=AttributeError())[source]

The name of the file containing the array.

If there are multiple files then an AttributeError is raised by default.

New in version (cfdm): 1.10.1.0

Parameters
default: optional

Return the value of the default parameter if there is no file.

If set to an Exception instance then it will be raised instead.

Returns
str

The file name.