cf.Data.get_filenames

Data.get_filenames()[source]

Return the names of files containing parts of the data array.

Returns
set

The file names in normalized, absolute form. If the data is are memory then an empty set is returned.

Examples:

>>> f = cf.read('../file[123]')[0]
>>> f.get_filenames()
{'/data/user/file1',
 '/data/user/file2',
 '/data/user/file3'}
>>> a = f.array
>>> f.get_filenames()
set()