cfdm.Domain.get_filenames¶
-
Domain.
get_filenames
(normalise=True)[source]¶ Return the file names containing the metadata construct data.
- Parameters
- normalise:
bool
, optional If True then normalise to an absolute path. If False (the default) then no normalisation is done.
New in version (cfdm): 1.12.0.0
- normalise:
- Returns
Examples
>>> d = cfdm.example_domain(0) >>> cfdm.write(d, 'temp_file.nc') >>> e = cfdm.read('temp_file.nc', domain=True)[0] >>> e.get_filenames() {'temp_file.nc'}