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

snapshot...

parent 1d5ec676
No related branches found
No related tags found
No related merge requests found
......@@ -1024,7 +1024,7 @@ def run_evaluate_static(h5f, ckpt_dir_s_path, prob_thresh=0.5, satellite='GOES16
if not os.path.isdir(ckpt_dir):
continue
nn = IcingIntensityNN()
nn.setup_eval_pipeline(data_dct, len(ll) * len(cc))
nn.setup_eval_pipeline(data_dct, num_lines * num_elems)
nn.build_model()
nn.build_training()
nn.build_evaluation()
......@@ -1059,15 +1059,9 @@ def run_evaluate_static(h5f, ckpt_dir_s_path, prob_thresh=0.5, satellite='GOES16
ice_cc = cc[ice_mask]
ice_ll = ll[ice_mask]
# ice_lons = []
# ice_lats = []
# for k in range(ice_cc.shape[0]):
# lon, lat = nav.lc_to_earth(ice_cc[k], ice_ll[k])
# ice_lons.append(lon)
# ice_lats.append(lat)
ice_lons, ice_lats = nav.lc_to_earth(ice_cc, ice_ll)
return ice_lons, ice_lats
return ice_lons, ice_lats, preds_2d, lons_2d, lats_2d, x_rad, y_rad
if __name__ == "__main__":
......
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