diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py index e5c5551edc49f08aaffc8199330a950c6c6560c9..5460c3bf4ca3ad931652cd887ae1835b959cb648 100644 --- a/modules/deeplearning/cloud_opd_srcnn_viirs.py +++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py @@ -685,6 +685,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): refl = get_grid_values_all(h5f, 'super/refl_0_65um') refl = np.where(np.isnan(refl), 0, refl) refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct) + relf = np.expand_dims(refl, axis=0) LEN_Y, LEN_X = refl.shape nn = SRCNN(LEN_Y=LEN_Y-16, LEN_X=LEN_X-16)