From 69f6218f3277f9dd0264f24c2cafe8e1f8a5bb45 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Wed, 12 Mar 2025 22:53:18 -0400 Subject: [PATCH] Hack: Multiply lapse rate by magic factor of 1.08 --- lib/xmet/thermo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/thermo.py b/lib/xmet/thermo.py index a98e101..5d9e5aa 100644 --- a/lib/xmet/thermo.py +++ b/lib/xmet/thermo.py @@ -122,7 +122,7 @@ def loft_parcel(start_temp: float, except OverflowError: break - temp = lapse(temp, height - last_height, rate) + temp = lapse(temp, height - last_height, 1.08*rate) yield temp, pressure