cf.NetCDF4Array.get_filename¶
- NetCDF4Array.get_filename(normalise=False, default=AttributeError())[source]¶
The name of the file containing the array.
Added in version (cfdm): 1.10.0.2
- Parameters:
- normalise:
bool
, optional If True then normalise to an absolute path. If False (the default) then no normalisation is done.
Added in version (cfdm): 1.12.0.0
- default: optional
Return the value of the default parameter if there is no file name.
If set to an
Exception
instance then it will be raised instead.
- normalise:
- Returns:
str
The file name.