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

snapshot...

parent 5e3b4110
Branches
No related tags found
No related merge requests found
......@@ -1904,7 +1904,7 @@ def run_make_images(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_pat
h5f.close()
def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_path=model_path, prob_thresh=0.5, satellite='GOES16', domain='CONUS'):
def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=homedir, ckpt_dir_s_path=model_path, prob_thresh=0.5, satellite='GOES16', domain='CONUS', day_night='DAY'):
train_params = ['cld_height_acha', 'cld_geo_thick', 'cld_temp_acha', 'cld_press_acha', 'supercooled_cloud_fraction',
'cld_emiss_acha', 'conv_cloud_fraction', 'cld_reff_dcomp', 'cld_opd_dcomp', 'iwc_dcomp', 'lwc_dcomp']
......@@ -1940,7 +1940,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_p
lats_2d = lat_s.reshape((num_lines, num_elems))
preds_2d_dct, probs_2d_dct = run_evaluate_static_new(data_dct, num_lines, num_elems, ckpt_dir_s_path=ckpt_dir_s_path, prob_thresh=prob_thresh)
write_icing_file(clvrx_str_time, preds_2d_dct, probs_2d_dct, x_rad, y_rad, lons_2d, lats_2d)
write_icing_file(clvrx_str_time, output_dir, preds_2d_dct, probs_2d_dct, x_rad, y_rad, lons_2d, lats_2d)
print('Done: ', clvrx_str_time)
h5f.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment