cf.Field.get_filenames¶
- Field.get_filenames(normalise=True)[source]¶
Return the names of the files containing the data.
The names of the files containing the data of the field constructs and of any metadata constructs are returned.
- Parameters:
- normalise:
bool
, optional If True then normalise to an absolute path. If False (the default) then no normalisation is done.
Added in version (cfdm): 1.12.0.0
- normalise:
- Returns:
Examples
>>> f = cf.example_field(0) >>> cf.write(f, 'temp_file.nc') >>> g = cf.read('temp_file.nc')[0] >>> g.get_filenames() {'temp_file.nc'}