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

minor

parent 1a00612d
Branches
No related tags found
No related merge requests found
...@@ -109,6 +109,7 @@ def compare_aeolus_max_height(aeolus_dict, files_path, grid_value_name='cld_heig ...@@ -109,6 +109,7 @@ def compare_aeolus_max_height(aeolus_dict, files_path, grid_value_name='cld_heig
nn_idxs = nav.earth_to_indexs(a_lons[f_idx], a_lats[f_idx], grd_vals.shape[0]) nn_idxs = nav.earth_to_indexs(a_lons[f_idx], a_lats[f_idx], grd_vals.shape[0])
if len(nn_idxs) == 0: if len(nn_idxs) == 0:
continue continue
on_earth = nn_idxs != -1 on_earth = nn_idxs != -1
nn_idxs = nn_idxs[on_earth] nn_idxs = nn_idxs[on_earth]
grd_crds = np.unravel_index(nn_idxs, grd_vals.shape) grd_crds = np.unravel_index(nn_idxs, grd_vals.shape)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment