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

snapshot...

parent 9dbed79e
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,12 @@ def run_test(directory): ...@@ -75,8 +75,12 @@ def run_test(directory):
for file in files: for file in files:
h5f = h5py.File(file, 'r') h5f = h5py.File(file, 'r')
opd_nl = get_grid_values_all(h5f, 'cld_opd_nlcomp') try:
reff_nl = get_grid_values_all(h5f, 'cld_reff_nlcomp') opd_nl = get_grid_values_all(h5f, 'cld_opd_nlcomp')
reff_nl = get_grid_values_all(h5f, 'cld_reff_nlcomp')
except:
print('PROBLEM with: ', file)
continue
if np.sum(np.isnan(opd_nl)) < opd_nl.size and np.sum(np.isnan(reff_nl)) < reff_nl.size: if np.sum(np.isnan(opd_nl)) < opd_nl.size and np.sum(np.isnan(reff_nl)) < reff_nl.size:
print(file) print(file)
......
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