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

snapshot...

parent 90117f5b
Branches
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ from aeolus.datasource import CLAVRx ...@@ -4,7 +4,7 @@ from aeolus.datasource import CLAVRx
import os import os
from deeplearning.cloud_fraction_fcn_abi import SRCNN as SRCNN_CLD_FRAC 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 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 numpy as np
import time import time
...@@ -49,7 +49,7 @@ def infer_cloud_products(clvrx_path, output_dir, full_disk=True, satellite='GOES ...@@ -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_frac = nn_cld_frac.run_inference(pname, None)
cld_opd = nn_cld_opd.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) satellite=satellite, domain=domain, has_time=True)
t1 = time.time() t1 = time.time()
print('total time: ', (t1 - t0)) print('total time: ', (t1 - t0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment