cf.Field.file_directories

Field.file_directories(constructs=True)[source]

The directories of files containing parts of the data.

Returns the locations of any files referenced by the data.

Added in version (cfdm): 1.12.0.0

Parameters:
constructs: bool, optional

If True (the default) then add also the directory to the data of metadata constructs. If False then don’t do this.

Returns:
set

The unique set of file directories as absolute paths.

Examples

>>> d.file_directories()
{'/home/data1', 'file:///data2'}