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

fix bug

parent e7b86348
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h
elif day_night == 'NIGHT':
model_path = night_model_path
all_idxs = np.arange(num_lines * num_elems)
all_idxs = np.arange(num_lines * num_elems).tolist()
mode = 'NIGHT'
if use_dnb and lunar_illuminated:
......@@ -234,6 +234,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h
prob_thresh=prob_thresh,
use_flight_altitude=use_flight_altitude,
flight_levels=flight_levels)
all_idxs = np.asarray(all_idxs)
for flvl in flight_levels:
nght_preds = preds_nght_dct[flvl]
nght_probs = probs_nght_dct[flvl]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment