From 944bae9303982656ce65915c87ab4bf154cdb199 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial <xan@xantronix.com> Date: Fri, 7 Mar 2025 14:39:43 -0500 Subject: [PATCH] Constants alignment on decimal --- lib/xmet/thermo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/xmet/thermo.py b/lib/xmet/thermo.py index 2631782..7df6954 100644 --- a/lib/xmet/thermo.py +++ b/lib/xmet/thermo.py @@ -52,12 +52,12 @@ def mixing_ratio_temp(ratio: float, pressure: float) -> float: Return the temperature, in degrees celsius, of a given mixing ratio at a specified pressure, in millibar. """ - c1 = 0.0498646455 - c2 = 2.4082965 - c3 = 7.07475 + c1 = 0.0498646455 + c2 = 2.4082965 + c3 = 7.07475 c4 = 38.9114 - c5 = 0.0915 - c6 = 1.2035 + c5 = 0.0915 + c6 = 1.2035 x = math.log10(ratio * pressure / (622.0 + ratio))