cf.Domain.get_filenames

Domain.get_filenames()[source]

Return the file names containing the metadata construct data.

Returns
set

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

Examples

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