cf.Field.file_locations

Field.file_locations(constructs=True)[source]

The locations of files containing parts of the data.

Returns the locations of any files that may be required to deliver the computed data array.

New in version 3.15.0.

Parameters
constructs: bool, optional

If True (the default) then the file locations from metadata constructs are also returned.

Returns
set

The unique file locations as absolute paths with no trailing path name component separator.

Examples

>>> f.file_locations()
{'/home/data1', 'file:///data2'}