cf.NetCDF4Array.file_directory

NetCDF4Array.file_directory(normalise=False, default=AttributeError())[source]

The file directory.

Added in version (cfdm): 1.12.0.0

Parameters:
normalise: bool, optional

If True then normalise to an absolute path. If False (the default) then no normalisation is done.

Returns:
str

The file directory name.

Examples

>>> a.get_filename()
'/data1/file1'