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

minor

parent e6f55a56
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,9 @@ def scan(directory):
if not p.is_dir():
continue
files = glob.glob(directory + p.name+'/'+'clavrx_snpp_viirs*.uwssec*.h5')
num_files = len(files)
num_keep = 0
for idx, file in enumerate(files):
h5f = h5py.File(file, 'r')
try:
......@@ -231,7 +233,9 @@ def scan(directory):
continue
if is_night(solzen):
num_keep += 1
print(file)
print(num_files, num_keep)
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