xdas.concat_coords#
- xdas.concat_coords(objs, *, sort=False, return_order=False, tolerance=False)[source]#
Concatenate coordinate objects.
- Parameters:
objs (sequence) – Sequence of coordinate-like objects to concatenate.
sort (bool, optional) – If True, sort objs by the start value before concatenation.
return_order (bool, optional) – If True, return (coord, order) where order is the list of indices used to sort the input objects.
tolerance (float or timedelta64, optional) – The tolerance to consider that the end of a coordinate object is continuous with beginning of the following, For time coordinates, numeric values are considered as seconds. No simplification by default.
- Returns:
coord – The concatenated coordinate object.
order (list of int, optional) – The sort order for objs when return_order is True.