Skip to content
Snippets Groups Projects
Commit 8b042c9a authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 90117f5b
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment