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

snapshot...

parent e1f02c43
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ def run():
lat_s = np.zeros(1)
last_clvr_file = None
last_h5f = None
cnt = 0
for idx, time in enumerate(time_keys):
if (idx % 4) != 0:
continue
......@@ -81,6 +82,7 @@ def run():
if clvr_file != last_clvr_file:
try:
h5f = h5py.File(clvr_file, 'r')
cnt += 1
except Exception:
h5f.close()
print('Problem with file: ', clvr_file)
......@@ -93,3 +95,4 @@ def run():
h5f = last_h5f
gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20)
print(idx, cnt)
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