cf.RegridOperator.equal_weights

RegridOperator.equal_weights(other, rtol=None, atol=None)[source]

Whether two regrid operators have identical weights.

Parameters:
other: RegridOperator

The other regrid operator to compare.

rtol: number, optional

The tolerance on relative differences between real numbers. The default value is set by the cf.rtol function.

atol: number, optional

The tolerance on absolute differences between real numbers. The default value is set by the cf.atol function.

Returns:
bool

True if the regrid operators have identical weights, otherwise False.