cf.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 = 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'}