Skip to content

Commit

Permalink
Need meta if using network
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Oct 27, 2023
1 parent de29908 commit 369cfc7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_aqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ def test_aqs():
# Note: will retrieve full year
network = "NCORE" # CSN NCORE CASTNET
with pytest.warns(UserWarning, match="Short names not available for these variables"):
df = aqs.add_data(dates, param=["PM10SPEC"], network=network, wide_fmt=False, daily=True)
df = aqs.add_data(
dates,
param=["PM10SPEC"],
meta=True,
network=network,
wide_fmt=False,
daily=True,
)
assert (df.variable == "").sum() == 0

0 comments on commit 369cfc7

Please sign in to comment.