cf.FieldList.equals

FieldList.equals(other, rtol=None, atol=None, traceback=False)[source]

Whether or not two field lists are pair-wise equal.

Parameters :
other : cf.FieldList

The fields to compare for equality.

atol : float, optional

The absolute tolerance for all numerical comparisons, By default the value returned by the cf.ATOL function is used.

rtol : float, optional

The relative tolerance for all numerical comparisons, By default the value returned by the cf.RTOL function is used.

traceback : bool, optional

If True then print a traceback highlighting where any pair of fields differ.

Returns :

out : cf.List

Previous topic

cf.FieldList.dump

Next topic

cf.FieldList.expand_dims

This Page