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

snapshot...

parent 5b36003d
No related branches found
No related tags found
No related merge requests found
...@@ -319,6 +319,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output ...@@ -319,6 +319,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output
l1b_andor_l2='BOTH', use_flight_altitude=True, res_fac=1, model_type='CNN', l1b_andor_l2='BOTH', use_flight_altitude=True, res_fac=1, model_type='CNN',
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',
icing_dict=None,
obs_lons=None, obs_lats=None, obs_times=None, obs_alt=None, flight_level=None): obs_lons=None, obs_lats=None, obs_times=None, obs_alt=None, flight_level=None):
if model_type == 'CNN': if model_type == 'CNN':
model_module = icing_cnn model_module = icing_cnn
...@@ -332,6 +333,8 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output ...@@ -332,6 +333,8 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output
if pirep_file is not None: if pirep_file is not None:
ice_dict, no_ice_dict, neg_ice_dict = setup(pirep_file) ice_dict, no_ice_dict, neg_ice_dict = setup(pirep_file)
if icing_dict is not None:
ice_dict = icing_dict
alt_lo, alt_hi = 0.0, 15000.0 alt_lo, alt_hi = 0.0, 15000.0
if flight_level is not None: if flight_level is not None:
......
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