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

snapshot...

parent 67bd0cd6
Branches
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ flt_level_ranges[4] = [8000.0, 15000.0]
def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=homedir,
day_model_path=model_path_day, night_model_path=model_path_night,
prob_thresh=0.5, satellite='GOES16', domain='CONUS', day_night='AUTO',
l1b_andor_l2='both', use_flight_altitude=True, res_fac=1, use_nan=False, model_type='CNN'):
l1b_andor_l2='both', use_flight_altitude=True, res_fac=1, use_nan=False, has_time=False, model_type='CNN'):
if model_type == 'CNN':
model_module = icing_cnn
elif model_type == 'FCN':
......@@ -178,7 +178,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h
write_icing_file_nc4(clvrx_str_time, output_dir, preds_2d_dct, probs_2d_dct,
x_rad, y_rad, lons_2d, lats_2d, cc, ll,
satellite=satellite, domain=domain, use_nan=use_nan, prob_thresh=prob_thresh)
satellite=satellite, domain=domain, use_nan=use_nan, has_time=has_time, prob_thresh=prob_thresh)
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