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

maybe fix problem

parent a12c80fd
No related branches found
No related tags found
No related merge requests found
......@@ -116,10 +116,15 @@ def compare_aeolus_max_height(aeolus_dict, files_path, grid_value_name='cld_heig
a_lats[f_idx] = a_lats[f_idx][on_earth]
a_times[f_idx] = a_times[f_idx][on_earth]
# layers = []
# for k in range(len(nn_idxs)):
# if on_earth[k]:
# layers.append(a_profs[f_idx][k])
# a_profs[f_idx] = layers
layers = []
for k in range(len(nn_idxs)):
if on_earth[k]:
layers.append(a_profs[f_idx][k])
for k in nn_idxs:
layers.append(a_profs[f_idx][k])
a_profs[f_idx] = layers
total += len(nn_idxs)
......
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