- metpy.units.concatenate(arrs, axis=0)#
Concatenate multiple values into a new quantity.
This is essentially a scalar-/masked array-aware version of
numpy.concatenate. All items must be able to be converted to the same units. If an item has no units, it will be given those of the rest of the collection, without conversion. The first units found in the arguments is used as the final output units.
arrs (Sequence of arrays) – The items to be joined together
axis (integer, optional) – The array axis along which to join the arrays. Defaults to 0 (the first dimension)
pint.Quantity– New container with the value passed in and units corresponding to the first item.