diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py index 220f09a95cc711d9803015e672272b1ae17ef112..e27b3dd9beddb799b30748b0941390a7888a35e9 100644 --- a/modules/deeplearning/cloud_opd_srcnn_viirs.py +++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py @@ -688,16 +688,16 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): refl = get_grid_values_all(h5f, 'super/refl_0_65um') ylen, xlen = refl.shape - refl = refl[int(ylen/2):ylen, :] + refl = refl[int(ylen/2):ylen, (int(xlen/2)-800):(int(xlen/2)+800)] LEN_Y, LEN_X = refl.shape bt = get_grid_values_all(h5f, 'orig/temp_11_0um') ylen, xlen = bt.shape - bt = bt[int(ylen/2):ylen, :] + bt = bt[int(ylen/2):ylen, (int(xlen/2)-400):(int(xlen/2)+400)] cld_opd = get_grid_values_all(h5f, 'super/' + label_param) ylen, xlen = cld_opd.shape - cld_opd = cld_opd[int(ylen/2):ylen, :] + cld_opd = cld_opd[int(ylen/2):ylen, (int(xlen/2)-800):(int(xlen/2)+800)] cld_opd_hres = cld_opd.copy() refl = np.where(np.isnan(refl), 0, refl)