cf.Field.concatenate

classmethod Field.concatenate(fields, axis=0, _preserve=True)[source]

Join a sequence of fields together.

This is different to cf.aggregate because it does not account for all metadata. For example, it assumes that the axis order is the same in each field.

New in version 1.0.

Parameters
fields: FieldList

The sequence of fields to concatenate.

axis: int, optional

The axis along which the arrays will be joined. The default is 0. Note that scalar arrays are treated as if they were one dimensional.

Returns
Field

The field generated from the concatenation of input fields.