From 0c186b38fe042fcf375f09e72e7fd3b3d3db30c8 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 1 Oct 2021 10:20:28 -0500 Subject: [PATCH] minor stuff --- modules/icing/pirep_goes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 19f53eda..01d66535 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1817,7 +1817,7 @@ def tiles_info(filename): print('Icing 6: ', np.sum(iint == 6)) -def run_make_images(ckpt_dir_s_path='/Users/tomrink/tf_model/', prob_thresh=0.5, domain='CONUS', +def run_make_images(ckpt_dir_s_path='/Users/tomrink/tf_model/', prob_thresh=0.5, satellite='GOES16', domain='CONUS', extent=[-105, -70, 15, 50], pirep_file='/Users/tomrink/data/pirep/pireps_202109200000_202109232359.csv'): ice_dict, no_ice_dict, neg_ice_dict = setup(pirep_file) @@ -1836,6 +1836,7 @@ def run_make_images(ckpt_dir_s_path='/Users/tomrink/tf_model/', prob_thresh=0.5, ts_0 = dto_0.timestamp() ts_1 = dto_1.timestamp() obs_times, obs_lons, obs_lats, _ = time_filter_3(ice_dict, ts_0, ts_1) - _, ice_lons, ice_lats = run_evaluate_static(filename=fname, ckpt_dir_s_path=ckpt_dir_s_path, prob_thresh=prob_thresh, domain=domain) + _, ice_lons, ice_lats = run_evaluate_static(filename=fname, ckpt_dir_s_path=ckpt_dir_s_path, + prob_thresh=prob_thresh, satellite=satellite, domain=domain) make_icing_image(fname, ice_lons, ice_lats, clvrx_str_time, ice_lons_vld=obs_lons, ice_lats_vld=obs_lats, extent=extent) print('Done: ', clvrx_str_time) -- GitLab