Constants alignment on decimal

This commit is contained in:
XANTRONIX 2025-03-07 14:39:43 -05:00
parent 7c9af22d51
commit 944bae9303

View file

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