diff --git a/src/usgs_stations_json_csv.py b/src/usgs_stations_json_csv.py index 55581b2..fc831c6 100644 --- a/src/usgs_stations_json_csv.py +++ b/src/usgs_stations_json_csv.py @@ -47,7 +47,7 @@ def read_usgs_json(json_path): # Iterate over different columns. Each colum can be a component data = [] pgas = [] - for index, chan in rec_sation.iteritems(): + for index, chan in rec_sation.items(): try: if chan["name"].endswith("Z") or chan["name"].endswith("U"): continue