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

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 the get_filenames method with per_chunk=True is guaranteed to have an acceptable shape.

Returns:

None