cfdm.Data.get_filenames¶
-
Data.
get_filenames
()[source]¶ Return the names of any files containing the data array.
See also
original_filenames
- Returns
Examples
>>> f = cfdm.example_field(0) >>> cfdm.write(f, 'temp_file.nc') >>> g = cfdm.read('temp_file.nc')[0] >>> d = g.data >>> d.get_filenames() {'/data/user/temp_file.nc'} >>> d[...] = -99 >>> d.get_filenames() set()