cf.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.
Added 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
numblocksattribute), or may also include an extra trailing dimension for different file location versions. Any output from theget_filenamesmethod withper_chunk=Trueis guaranteed to have an acceptable shape.
- Returns: