Skip to content

openaq_aws

OpenAQ AWS Reader. Redirection to monetio.readers.openaq_aws

add_data(dates, *, siteid=None, country=None, provider=None, find_paths=True, n_procs=1, as_xarray=True)

Retrieve and load OpenAQ archive data from AWS.

Source code in monetio/obs/openaq_aws.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
def add_data(
    dates,
    *,
    siteid=None,
    country=None,
    provider=None,
    find_paths=True,
    n_procs=1,
    as_xarray=True,
):
    """Retrieve and load OpenAQ archive data from AWS."""
    return OpenAQAWSReader().open_dataset(
        dates=dates,
        siteid=siteid,
        country=country,
        provider=provider,
        find_paths=find_paths,
        n_procs=n_procs,
        as_xarray=as_xarray,
    )