From acbad66a1b0a30bef71b10ad8fcdab7512bab51d Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 28 May 2024 10:21:24 -0500
Subject: [PATCH] snapshot...

---
 modules/contrail/util.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/contrail/util.py b/modules/contrail/util.py
index d73d6946..368b7f17 100644
--- a/modules/contrail/util.py
+++ b/modules/contrail/util.py
@@ -103,10 +103,7 @@ def extract(mask_image, image_ts, clavrx_path):
     uwind_3d = uwind_3d.transpose('Pressure', 'Latitude', 'Longitude')
     vwind_3d = vwind_3d.transpose('Pressure', 'Latitude', 'Longitude')
     temp_3d = temp_3d.transpose('Pressure', 'Latitude', 'Longitude')
-
-    # uwind_2d = get_horz_layer(xr_dataset, 'u-wind', 500.0, lon_range=[lon_range[0], lon_range[1]], lat_range=[lat_range[0], lat_range[1]])
-    # vwind_2d = get_horz_layer(xr_dataset, 'v-wind', 500.0, lon_range=[lon_range[0], lon_range[1]], lat_range=[lat_range[0], lat_range[1]])
-    # shear_2d = shearing_deformation(uwind_2d, vwind_2d)
+    rh_3d = rh_3d.transpose('Pressure', 'Latitude', 'Longitude')
 
     horz_shear_3d = shearing_deformation(uwind_3d, vwind_3d)
     static_3d = static_stability(temp_3d.coords['Pressure'] * units.hPa, temp_3d)
-- 
GitLab