diff --git a/modules/util/infer_cloud_products.py b/modules/util/infer_cloud_products.py index 4e6719fef144870ca2af25f2646ff7b4707b024f..647b89462c01bfd34b26763b48b8f3b8b5f03706 100644 --- a/modules/util/infer_cloud_products.py +++ b/modules/util/infer_cloud_products.py @@ -4,7 +4,7 @@ from aeolus.datasource import CLAVRx import os from deeplearning.cloud_fraction_fcn_abi import SRCNN as SRCNN_CLD_FRAC from deeplearning.cloud_opd_fcn_abi import SRCNN as SRCNN_CLD_OPD -from util.util import get_cartopy_crs, write_cld_frac_file_nc4 +from util.util import get_cartopy_crs, write_cld_prods_file_nc4 import numpy as np import time @@ -49,7 +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 = nn_cld_opd.run_inference(pname, None) - write_cld_frac_file_nc4(clvrx_str_time, out_file, cld_frac, x_rad, y_rad, None, None, + write_cld_prods_file_nc4(clvrx_str_time, out_file, cld_frac, x_rad, y_rad, None, None, satellite=satellite, domain=domain, has_time=True) t1 = time.time() print('total time: ', (t1 - t0))