diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 19f53edae91fe2b525da74040de5d13d0112cd89..01d6653569759c0c8fa1b08ef20f0e6521ce892a 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)