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

snapshot...

parent 0784afd7
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,8 @@ import deeplearning.icing_fcn as icing_fcn ...@@ -3,7 +3,8 @@ import deeplearning.icing_fcn as icing_fcn
import deeplearning.icing_cnn as icing_cnn import deeplearning.icing_cnn as icing_cnn
from icing.pirep_goes import setup, time_filter_3 from icing.pirep_goes import setup, time_filter_3
from util.util import get_time_tuple_utc, is_day, check_oblique, get_average, homedir, write_icing_file_nc4,\ from util.util import get_time_tuple_utc, is_day, check_oblique, get_average, homedir, write_icing_file_nc4,\
make_for_full_domain_predict, prepare_evaluate write_icing_file_nc4_viirs,\
make_for_full_domain_predict, make_for_full_domain_predict_viirs_clavrx, prepare_evaluate
from util.plot import make_icing_image from util.plot import make_icing_image
from util.geos_nav import get_navigation, get_lon_lat_2d_mesh from util.geos_nav import get_navigation, get_lon_lat_2d_mesh
from util.setup import model_path_day, model_path_night from util.setup import model_path_day, model_path_night
...@@ -184,8 +185,13 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h ...@@ -184,8 +185,13 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h
avg_bt = np.array(avg_bt) avg_bt = np.array(avg_bt)
bt_10_4_2d = avg_bt.reshape((num_lines, num_elems)) bt_10_4_2d = avg_bt.reshape((num_lines, num_elems))
write_icing_file_nc4(clvrx_str_time, output_dir, preds_2d_dct, probs_2d_dct, # write_icing_file_nc4(clvrx_str_time, output_dir, preds_2d_dct, probs_2d_dct,
x_rad, y_rad, lons_2d, lats_2d, cc, ll, # x_rad, y_rad, lons_2d, lats_2d, cc, ll,
# satellite=satellite, domain=domain, use_nan=use_nan, has_time=has_time,
# prob_thresh=prob_thresh, bt_10_4=bt_10_4_2d)
write_icing_file_nc4_viirs(clvrx_str_time, output_dir, preds_2d_dct, probs_2d_dct,
lons_2d, lats_2d,
satellite=satellite, domain=domain, use_nan=use_nan, has_time=has_time, satellite=satellite, domain=domain, use_nan=use_nan, has_time=has_time,
prob_thresh=prob_thresh, bt_10_4=bt_10_4_2d) prob_thresh=prob_thresh, bt_10_4=bt_10_4_2d)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment