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

snapshot...

parent 8e259d53
No related branches found
No related tags found
No related merge requests found
......@@ -112,11 +112,16 @@ def run_mean_std(directory):
try:
h5f = h5py.File(mfile, 'r')
except:
print('cant open file: ', mfile)
continue
for param in mod_res_params:
name = 'observation_data/'+param
gvals = get_grid_values_all(h5f, name, range_name=None, stride=10)
data_dct[param].append(gvals.flatten())
try:
gvals = get_grid_values_all(h5f, name, range_name=None, stride=10)
data_dct[param].append(gvals.flatten())
except:
print('problem reading file: ', mfile)
continue
print(mfile)
h5f.close()
......
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