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))