From db001e3669e821bc8b3cebc9cf3501d315f6c9f5 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 13 Sep 2022 12:45:35 -0500 Subject: [PATCH] snaphot... --- modules/util/util.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/util/util.py b/modules/util/util.py index b95a16f8..0585c960 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -1392,3 +1392,8 @@ def resample(x, y, z, x_new, y_new): f = RectBivariateSpline(x, y, z_k) z_intrp.append(f(x_new, y_new)) return np.stack(z_intrp) + + +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 -- GitLab