From c678d3a7fa7ce1fef54b033a40aa6f69ad24e9ed Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 27 Jun 2023 10:52:27 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_opd_srcnn_viirs.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py
index 8e023668..7fcab2de 100644
--- a/modules/deeplearning/cloud_opd_srcnn_viirs.py
+++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py
@@ -722,6 +722,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     bt = bt[nn.slc_y_m, nn.slc_x_m]
     bt = np.expand_dims(bt, axis=0)
     bt = nn.upsample(bt)
+    bt = smooth_2d(bt)
     bt = normalize(bt, 'temp_11_0um_nom', mean_std_dct)
 
     # refl = get_grid_values_all(h5f, 'super/refl_0_65um')
@@ -739,6 +740,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     cld_opd = cld_opd[nn.slc_y_2, nn.slc_x_2]
     cld_opd = np.expand_dims(cld_opd, axis=0)
     cld_opd = nn.upsample(cld_opd)
+    cld_opd = smooth_2d(cld_opd)
     cld_opd = normalize(cld_opd, label_param, mean_std_dct)
 
     data = np.stack([bt, refl, cld_opd], axis=3)
-- 
GitLab