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

fix some cf issues

parent e265fe26
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,7 @@ def scan(directory):
def scan_for_location(txt_file, lon_range=[111.0, 130.0], lat_range=[14.0, 32.0]):
with open(txt_file) as file:
for idx, fpath in enumerate(file):
fpath = fpath.strip()
h5f = h5py.File(fpath, 'r')
try:
lon_s = get_grid_values_all(h5f, 'longitude')
......
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