sdf_xarray

sdf_xarray#

Functions

combine_datasets(path_glob[, data_vars, ...])

Combine all datasets using a single time dimension, optionally extract data from only the listed data_vars

make_time_dims(path_glob)

Extract the distinct set of time arrays from a collection of SDF files, along with a mapping from variable names to their time dimension.

open_dataset(path, *[, drop_variables, ...])

Open an SDF file as a xarray.Dataset.

open_datatree(path, *[, drop_variables, ...])

Open an SDF file as a xarray.DataTree.

open_mfdataset(paths, *[, separate_times, ...])

Open a set of EPOCH SDF files as one xarray.Dataset.

open_mfdatatree(paths, *[, separate_times, ...])

Open a set of EPOCH SDF files as one xarray.DataTree.

purge_unselected_data_vars(ds, data_vars)

If the user has exclusively requested only certain variables be loaded in then we purge all other variables and dimensions

resolve_paths(file_pattern)

Resolve user input into sorted absolute paths to existing SDF files.

Classes

SDFBackendArray(variable_name, datastore, ...)

Adapater class required for lazy loading

SDFDataStore(manager[, drop_variables, ...])

Store for reading and writing data via the SDF library.

SDFEntrypoint()

SDFPreprocess([data_vars])

Preprocess SDF files for xarray ensuring matching job ids and sets time dimension.

XrTUIEntrpoint()

Modules