Skip to content

Commit

Permalink
Merge pull request #141 from zmoon/openaq
Browse files Browse the repository at this point in the history
OpenAQ v1 fixes + initial OpenAQ v2 reader
  • Loading branch information
zmoon committed Sep 19, 2024
2 parents 56eef95 + 7d16a44 commit 8f981eb
Show file tree
Hide file tree
Showing 8 changed files with 1,348 additions and 180 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
schedule:
- cron: "0 12 * * 1"

env:
OPENAQ_API_KEY: "${{ secrets.OPENAQ_API_KEY }}"

jobs:
test:
name: Test (Py ${{ matrix.python-version }})
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repos:
exclude: tdump\.[0-9]*
- id: end-of-file-fixer
- id: check-docstring-first
exclude: monetio/obs/openaq_v2\.py
- id: check-yaml

- repo: https://github.com/asottile/pyupgrade
Expand Down
16 changes: 15 additions & 1 deletion monetio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
from . import grids
from .models import camx, cmaq, fv3chem, hysplit, hytraj, ncep_grib, pardump, prepchem, raqms
from .obs import aeronet, airnow, aqs, cems, crn, improve, ish, ish_lite, nadp, openaq, pams
from .obs import (
aeronet,
airnow,
aqs,
cems,
crn,
improve,
ish,
ish_lite,
nadp,
openaq,
openaq_v2,
pams,
)
from .profile import geoms, gml_ozonesonde, icartt, tolnet
from .sat import goes

Expand Down Expand Up @@ -29,6 +42,7 @@
"ish_lite",
"nadp",
"openaq",
"openaq_v2",
"pams",
#
# profile obs
Expand Down
2 changes: 2 additions & 0 deletions monetio/obs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ish_lite,
nadp,
openaq,
openaq_v2,
pams,
)

Expand All @@ -25,6 +26,7 @@
"cems_mod",
"nadp",
"openaq",
"openaq_v2",
"pams",
]

Expand Down
Loading

0 comments on commit 8f981eb

Please sign in to comment.