From bb9b2e2dbf6ba29890335b2e462606576ab2fb40 Mon Sep 17 00:00:00 2001
From: XANTRONIX Industrial <xan@xantronix.com>
Date: Sun, 9 Mar 2025 15:22:10 -0400
Subject: [PATCH] Remove unnecessary parens

---
 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 0884404..1360669 100644
--- a/lib/xmet/sounding.py
+++ b/lib/xmet/sounding.py
@@ -216,7 +216,7 @@ class SoundingParameters():
             if gph_last is not None:
                 gph_delta = gph - gph_last
 
-                cape += (((t_parcel) - (t_env)) / (t_env)) * gph_delta
+                cape += ((t_parcel - t_env) / t_env) * gph_delta
 
             gph_last = gph