cf.Domain.get_filenames

Domain.get_filenames()[source]

Return the file names containing the metadata construct data.

Returns
set

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

Examples:

>>> d = cf.example_field(0).domain
>>> cf.write(d, 'temp_file.nc')
>>> e = cf.read('temp_file.nc', domain=True)[0]
>>> e.get_filenames()
{'temp_file.nc'}