cf.NetCDFArray.file_locations¶
-
NetCDFArray.
file_locations
()[source]¶ The locations of the files, any of which may contain the data.
New in version 3.15.0.
- Returns
tuple
The file locations, one for each file, as absolute paths with no trailing path name component separator.
Examples
>>> a.get_filenames() ('/data1/file1',) >>> a.file_locations() ('/data1,)
>>> a.get_filenames() ('/data1/file1', '/data2/file2') >>> a.file_locations() ('/data1', '/data2')
>>> a.get_filenames() ('/data1/file1', '/data2/file2', '/data1/file2') >>> a.file_locations() ('/data1', '/data2', '/data1')