Skip to content

ufs

UFS-AQM File Reader. Deprecated wrapper — use monetio.load('ufs', ...) instead.

open_mfdataset(fname, **kwargs)

Method to open RFFS-CMAQ dyn* netcdf files.

Parameters:

Name Type Description Default
fname string or list

fname is the path to the file or files. It will accept hot keys in strings as well.

required
**kwargs dict

Additional arguments passed to UFSReader.open_dataset

{}

Returns:

Type Description
DataSet

UFS-AQM model dataset in standard format for use in MELODIES-MONET

Source code in monetio/models/ufs.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.models.ufs.open_mfdataset",
    'monetio.load("ufs", files=...)',
)
def open_mfdataset(fname, **kwargs):
    """Method to open RFFS-CMAQ dyn* netcdf files.

    Parameters
    ----------
    fname : string or list
        fname is the path to the file or files.  It will accept hot keys in
        strings as well.
    **kwargs : dict
        Additional arguments passed to UFSReader.open_dataset

    Returns
    -------
    xarray.DataSet
        UFS-AQM model dataset in standard format for use in MELODIES-MONET
    """
    return UFSReader().open_dataset(files=fname, **kwargs)