comparison
LegacyMetric
Bases: BaseMetric
Legacy (AI2) metric used for original FV3 port.
This metric attempts to smooth error comparison around 0.
It further tries to deal with close-to-0 breakdown of absolute
error by allowing near_zero threshold to be specified by hand.
MultiModalFloatMetric
Bases: BaseMetric
Combination of absolute, relative & ULP comparison for floats
This metric attempts to combine well known comparison on floats to leverage a robust 32/64 bit float comparison on large accumulating floating errors.
ULP is used to clear noise (ULP<=1.0 passes) Absolute errors for large amplitude