From 53d48a07dd6fb1957db72b3786e48f1d1a8ae343 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 30 Jan 2022 11:47:35 -0600
Subject: [PATCH] snapshot...

---
 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 a953c377..2c83334e 100644
--- a/modules/util/util.py
+++ b/modules/util/util.py
@@ -548,13 +548,13 @@ taiwain_extent = [-3342, -502, 1470, 3510]  # GEOS coordinates, not line, elem
 
 # ------------ This code will not be needed when we implement a Fully Connected CNN -----------------------------------
 # Generate and return tiles of name_list parameters
-def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain='FD'):
+def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain='FD', res_fac=1):
     w_x = 16
     w_y = 16
     i_0 = 0
     j_0 = 0
-    s_x = w_x
-    s_y = w_y
+    s_x = int(w_x / res_fac)
+    s_y = int(w_y / res_fac)
 
     geos, xlen, xmin, xmax, ylen, ymin, ymax = get_cartopy_crs(satellite, domain)
     if satellite == 'H08':
-- 
GitLab