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

minor stuff

parent 3e1abfed
No related branches found
No related tags found
No related merge requests found
...@@ -1817,7 +1817,7 @@ def tiles_info(filename): ...@@ -1817,7 +1817,7 @@ def tiles_info(filename):
print('Icing 6: ', np.sum(iint == 6)) 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], extent=[-105, -70, 15, 50],
pirep_file='/Users/tomrink/data/pirep/pireps_202109200000_202109232359.csv'): pirep_file='/Users/tomrink/data/pirep/pireps_202109200000_202109232359.csv'):
ice_dict, no_ice_dict, neg_ice_dict = setup(pirep_file) 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, ...@@ -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_0 = dto_0.timestamp()
ts_1 = dto_1.timestamp() ts_1 = dto_1.timestamp()
obs_times, obs_lons, obs_lats, _ = time_filter_3(ice_dict, ts_0, ts_1) 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) 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) print('Done: ', clvrx_str_time)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment