Skip to content

pandora

Pandora Reader. Deprecated wrapper — use monetio.load('pandora', ...) instead.

add_data(dates=None, siteid=None, instrument=None, product='no2', as_xarray=True, **kwargs)

Retrieve and load Pandora data.

Source code in monetio/obs/pandora.py
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@deprecated_wrapper(
    "monetio.obs.pandora.add_data",
    'monetio.load("pandora", dates=...)',
)
def add_data(
    dates=None,
    siteid=None,
    instrument=None,
    product="no2",
    as_xarray=True,
    **kwargs,
):
    """Retrieve and load Pandora data."""
    return PandoraReader().open_dataset(
        dates=dates,
        siteid=siteid,
        instrument=instrument,
        product=product,
        as_xarray=as_xarray,
        **kwargs,
    )

add_local(fname, as_xarray=True, **kwargs)

Read a local Pandora file.

Source code in monetio/obs/pandora.py
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@deprecated_wrapper(
    "monetio.obs.pandora.add_local",
    'monetio.load("pandora", files=...)',
)
def add_local(
    fname,
    as_xarray=True,
    **kwargs,
):
    """Read a local Pandora file."""
    return PandoraReader().open_dataset(
        files=fname,
        as_xarray=as_xarray,
        **kwargs,
    )