diff --git a/modules/util/infer_cloud_products.py b/modules/util/infer_cloud_products.py index d34ac002f75b7f207f6bd67da59a579f4c87f2de..64ba506b6f18c65a9b549ee8daa6e59b2617f05b 100644 --- a/modules/util/infer_cloud_products.py +++ b/modules/util/infer_cloud_products.py @@ -49,6 +49,7 @@ def infer_cloud_products(clvrx_path, output_dir, full_disk=True, satellite='GOES cld_frac = nn_cld_frac.run_inference(pname, None) cld_opd, opd = nn_cld_opd.run_inference(pname, None) + cld_opd[np.isnan(opd)] = -1.0 clr_cat = cld_frac == 0 cld_cat = cld_frac == 4 cld_opd[clr_cat] = opd[clr_cat]