diff --git a/modules/deeplearning/cloud_fraction_fcn_abi.py b/modules/deeplearning/cloud_fraction_fcn_abi.py index 87e04401fc42c79cee12dfcfa5eb8d8fc2691075..32ea7dbb83d4186bb91abc1c890f22d13aea3826 100644 --- a/modules/deeplearning/cloud_fraction_fcn_abi.py +++ b/modules/deeplearning/cloud_fraction_fcn_abi.py @@ -794,7 +794,9 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): # Use this hack for now. off_earth = (bt <= 161.0) + night = np.isnan(refl) cld_frac_out[off_earth] = -1 + cld_frac_out[np.invert(off_earth) & night] = -1 # --- Make a DataArray ---------------------------------------------------- # var_names = ['cloud_fraction', 'temp_11_0um', 'refl_0_65um'] @@ -857,7 +859,9 @@ def run_evaluate_static_full_disk(in_file, out_file, ckpt_dir): # Use this hack for now. off_earth = (bt <= 161.0) + night = np.isnan(refl) cld_frac_out[off_earth] = -1 + cld_frac_out[np.invert(off_earth) & night] = -1 # --- Make DataArray ------------------------------------------------- # var_names = ['cloud_fraction', 'temp_11_0um', 'refl_0_65um']