From c1b8585cfa1ad3733fd7dd26bbbfb139dc4c90d9 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 15 Sep 2022 11:16:22 -0500
Subject: [PATCH] snaphot...

---
 modules/util/util.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/util/util.py b/modules/util/util.py
index c40af26c..912d6bb4 100644
--- a/modules/util/util.py
+++ b/modules/util/util.py
@@ -1385,7 +1385,7 @@ def downscale_2x(original, smoothing=False, samples_axis_first=False):
     return lr
 
 
-def resample(y, x, z, y_new, x_new):
+def resample(x, y, z, x_new, y_new):
     z_intrp = []
     for k in range(z.shape[0]):
         z_k = z[k, :, :]
@@ -1394,6 +1394,6 @@ def resample(y, x, z, y_new, x_new):
     return np.stack(z_intrp)
 
 
-def resample_one(y, x, z, y_new, x_new):
+def resample_one(x, y, z, x_new, y_new):
     f = RectBivariateSpline(x, y, z)
-    return f(x_new, y_new)
\ No newline at end of file
+    return f(x_new, y_new)
-- 
GitLab