From cae2cb0b3fd843cd83d93e1e41432b06857fa9e7 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial <xan@xantronix.com> Date: Sun, 9 Mar 2025 15:22:25 -0400 Subject: [PATCH] Ensure gravitational force is applied to CAPE --- lib/xmet/sounding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/sounding.py b/lib/xmet/sounding.py index 1360669..8183740 100644 --- a/lib/xmet/sounding.py +++ b/lib/xmet/sounding.py @@ -220,7 +220,7 @@ class SoundingParameters(): gph_last = gph - return cape + return 9.80665 * cape @staticmethod def from_sounding(sounding: Sounding) -> Self: