Skip to content

Commit

Permalink
t merge upstream/main
Browse files Browse the repository at this point in the history
git push
Merge branch 'main' of https://github.com/ARM-DOE/ACT into step_detection
  • Loading branch information
kenkehoe committed Dec 12, 2024
2 parents 4eddc2a + 2a6e1f8 commit 776d6be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/discovery/test_airnow.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def test_get_airnow():
assert results['ReportingArea'][3] == 'Aurora and Elgin'

results = act.discovery.get_airnow_obs(token, date='2022-05-01', zipcode=60108, distance=50)
assert results['AQI'].values[0] == 26
assert results['ParameterName'].values[1] == 'PM2.5'
assert results['AQI'].values[0] == 13
assert results['ParameterName'].values[0] == 'PM2.5'
assert results['CategoryName'].values[0] == 'Good'

results = act.discovery.get_airnow_obs(token, zipcode=60108, distance=50)
Expand All @@ -40,8 +40,8 @@ def test_get_airnow():
results = act.discovery.get_airnow_obs(
token, date='2022-05-01', distance=50, latlon=[41.958, -88.12]
)
assert results['AQI'].values[0] == 26
assert results['ParameterName'].values[1] == 'PM2.5'
assert results['AQI'].values[0] == 13
assert results['ParameterName'].values[0] == 'PM2.5'
assert results['CategoryName'].values[0] == 'Good'

lat_lon = '-88.245401,41.871346,-87.685099,42.234359'
Expand Down

0 comments on commit 776d6be

Please sign in to comment.