Skip to content

Commit

Permalink
airnow param not used in new version
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Oct 30, 2023
1 parent eb46947 commit 2324ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monetio/obs/airnow.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,11 @@ def get_station_locations(df, *, today=True): # TODO: better name might be `add
from .epa_util import read_airnow_monitor_file

if today:
meta = read_airnow_monitor_file(airnow=True)
meta = read_airnow_monitor_file(date=None)
else:
dates = sorted(df.time.dt.floor("D").unique())
meta = (
pd.concat([read_airnow_monitor_file(date=date, airnow=True) for date in dates])
pd.concat([read_airnow_monitor_file(date=date) for date in dates])
.drop_duplicates(subset=["siteid"])
.reset_index(drop=True)
)
Expand Down

0 comments on commit 2324ceb

Please sign in to comment.