cf.FieldList.equals

FieldList.equals(other, rtol=None, atol=None, ignore_fill_value=False, 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.

ignore_fill_value : bool, optional

If True then data arrays with different fill values are considered equal. By default they are considered unequal.

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