From 5db0e2d5611dedfa394fed6b16a971f3ea8bd459 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 26 Sep 2022 11:42:19 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/srcnn.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/deeplearning/srcnn.py b/modules/deeplearning/srcnn.py
index cd3881a7..e7ffa10f 100644
--- a/modules/deeplearning/srcnn.py
+++ b/modules/deeplearning/srcnn.py
@@ -49,8 +49,9 @@ mean_std_dct.update(mean_std_dct_l2)
 
 # emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13_3um_nom', 'temp_3_75um_nom',
 #                'temp_6_7um_nom', 'temp_6_2um_nom', 'temp_7_3um_nom', 'temp_8_5um_nom', 'temp_9_7um_nom']
-data_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'cld_temp_acha', 'cld_press_acha']
-label_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'cld_temp_acha', 'cld_press_acha']
+
+data_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'cloud_fraction']
+label_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'cloud_fraction']
 
 
 DO_ZERO_OUT = False
@@ -671,6 +672,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
 def run_evaluate_static_new(in_file, out_file, ckpt_dir):
     h5f = h5py.File(in_file, 'r')
     grd = get_grid_values_all(h5f, data_param)
+    grd = grd[::2, ::2]
     leny, lenx = grd.shape
     x = np.arange(lenx)
     y = np.arange(leny)
-- 
GitLab