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

snapshot...

parent 3426e71b
Branches
No related tags found
No related merge requests found
...@@ -40,8 +40,11 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-63, 63]): ...@@ -40,8 +40,11 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-63, 63]):
continue continue
report = toks[3] report = toks[3]
lat = float(toks[4]) try:
lon = float(toks[5]) lat = float(toks[4])
lon = float(toks[5])
except Exception:
continue
if lon < lon_range[0] or lon > lon_range[1]: if lon < lon_range[0] or lon > lon_range[1]:
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment