cfdm.Data.replace_filenames¶
-
Data.
replace_filenames
(filenames)[source]¶ Replace file locations in-place.
A fragment is a part of the data array that is stored in a file.
New in version (cfdm): 1.12.0.0
See also
- Parameters
- filenames: array_like
The replacement file names. It must either have the same shape as the Dask chunks (as returned by the
numblocks
attribute), or may also include an extra trailing dimension for different file location versions. Any output from theget_filenames
method withper_chunk=True
is guaranteed to have an acceptable shape.
- Returns