Skip to content

ish_lite

ISH Lite Reader. Deprecated wrapper — use monetio.load('ish_lite', ...) instead.

add_data(dates, *, box=None, country=None, state=None, site=None, resample=False, window='h', n_procs=1, verbose=False, as_xarray=True)

Retrieve and load ISH Lite data.

Source code in monetio/obs/ish_lite.py
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@deprecated_wrapper(
    "monetio.obs.ish_lite.add_data",
    'monetio.load("ish_lite", dates=...)',
)
def add_data(
    dates,
    *,
    box=None,
    country=None,
    state=None,
    site=None,
    resample=False,
    window="h",
    n_procs=1,
    verbose=False,
    as_xarray=True,
):
    """Retrieve and load ISH Lite data."""
    return ISHLiteReader().open_dataset(
        dates=dates,
        box=box,
        country=country,
        state=state,
        site=site,
        resample=resample,
        window=window,
        n_procs=n_procs,
        verbose=verbose,
        as_xarray=as_xarray,
    )