Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load data from the OpenAQ data archive on AWS Open Data #237

Draft
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

zmoon
Copy link
Member

@zmoon zmoon commented Mar 7, 2025

  • add imports
  • more tests (e.g. loading data for more than one site)
  • wide format conversion (maybe use the func from the v3 web API once OpenAQ web API v3 #198 is merged)
  • it would be nice to have more site metadata, which get_locations from the v3 web API reader could provide

zmoon added 17 commits September 4, 2024 11:55
very slow if going for all locations though
in the case of one month for two locs...
testing with aqdc, 2017-07, takes a few min to find files,
though after the first date query the next ones seem much faster

found almost 4k files, loaded in a few min with 4 proc
tried mx (Mexico), which seems to have had just 40 unique locs
in 2017-07, still took 5-ish minutes to discover the 700-ish files
without pre-checking if the files exist
took 18 hours to find 17_455_910 site-days,
so wouldn't want to do it often

.csv.gz at 41 MB
this is the standard name
going this way with the v3 API reader too

https://registry.opendata.aws/openaq/

https://docs.openaq.org/docs/accessing-openaq-archive-data
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
https://docs.openaq.org/docs/accessing-openaq-archive-data
https://docs.openaq.org/aws/about

it was changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant