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

bug fix

parent e240843a
No related branches found
No related tags found
No related merge requests found
......@@ -1846,9 +1846,9 @@ def run_make_images(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_pat
_, obs_lons, obs_lats, _ = time_filter_3(ice_dict, ts_0, ts_1)
else:
keep = np.logical_and(obs_times >= ts_0, obs_times < ts_1)
obs_lons = obs_lons[keep]
obs_lats = obs_lats[keep]
keep_lons = obs_lons[keep]
keep_lats = obs_lats[keep]
ice_lons, ice_lats = run_evaluate_static(h5f, ckpt_dir_s_path=ckpt_dir_s_path, prob_thresh=prob_thresh, satellite=satellite, domain=domain)
make_icing_image(h5f, ice_lons, ice_lats, clvrx_str_time, satellite, domain, ice_lons_vld=obs_lons, ice_lats_vld=obs_lats, extent=extent)
make_icing_image(h5f, ice_lons, ice_lats, clvrx_str_time, satellite, domain, ice_lons_vld=keep_lons, ice_lats_vld=keep_lats, extent=extent)
print('Done: ', clvrx_str_time)
h5f.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment