are_equal¶ earthkit.utils.units.are_equal(unit_1: str | Unit | Units | None, unit_2: str | Unit | Units | None) → bool[source]¶ Check if two units are equivalent. Parameters: unit_1 (str) – The first unit. unit_2 (str) – The second unit. Returns: True if the units are equivalent, False otherwise. Return type: bool