xdas.concat#

xdas.concat(objs, dim='first', tolerance=None, virtual=None, verbose=None)[source]#

Concatenate data arrays along a given dimension.

Parameters:
  • objs (list of DataArray) – List of data arrays to concatenate.

  • dim (str) – The dimension along which concatenate.

  • tolerance (float or timedelta64, optional) – The tolerance to consider that the end of a file is continuous with beginning of the following, For time coordinates, numeric values are considered as seconds. Zero by default.

  • virtual (bool, optional) – Whether to create a virtual dataset. It requires that all concatenated data arrays are virtual. By default tries to create a virtual dataset if possible.

  • verbose (bool) – Whether to display a progress bar.

Returns:

The concatenated dataarray. Coordinates along axes other than dim are taken from the first element; no compatibility check is performed on objs[1:].

Return type:

DataArray