cfdm.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 = cfdm.example_field(0).domain
>>> cfdm.write(d, 'temp_file.nc')
>>> e = cfdm.read('temp_file.nc', domain=True)[0]
>>> e.get_filenames()
{'temp_file.nc'}