Skip to content

hysplit

HYSPLIT Reader. Deprecated wrapper — use monetio.load('hysplit', ...) instead.

combine_dataset(blist, drange=None, species=None, century=None, verbose=False, sample_time_stamp='start', check_grid=True)

Method to combine multiple HYSPLIT datasets.

Source code in monetio/models/hysplit.py
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@deprecated_wrapper(
    "monetio.models.hysplit.combine_dataset",
    'monetio.load("hysplit", files=...)',
)
def combine_dataset(
    blist,
    drange=None,
    species=None,
    century=None,
    verbose=False,
    sample_time_stamp="start",
    check_grid=True,
):
    """Method to combine multiple HYSPLIT datasets."""
    return combine_dataset_reader(
        blist,
        drange=drange,
        species=species,
        century=century,
        verbose=verbose,
        sample_time_stamp=sample_time_stamp,
        check_grid=check_grid,
    )

open_dataset(fname, **kwargs)

Method to open HYSPLIT netcdf files.

Parameters:

Name Type Description Default
fname string or list

fname is the path to the file or files.

required
**kwargs dict

Additional arguments passed to HYSPLITReader.open_dataset

{}

Returns:

Type Description
DataSet
Source code in monetio/models/hysplit.py
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@deprecated_wrapper(
    "monetio.models.hysplit.open_dataset",
    'monetio.load("hysplit", files=...)',
)
def open_dataset(fname, **kwargs):
    """Method to open HYSPLIT netcdf files.

    Parameters
    ----------
    fname : string or list
        fname is the path to the file or files.
    **kwargs : dict
        Additional arguments passed to HYSPLITReader.open_dataset

    Returns
    -------
    xarray.DataSet
    """
    return HYSPLITReader().open_dataset(files=fname, **kwargs)