sdf_xarray

sdf_xarray#

Functions

combine_datasets(path_glob, data_vars, **kwargs)

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_datatree(path, *[, keep_particles, ...])

An xarray.DataTree is constructed utilising the original names in the SDF file.

open_mfdataset(path_glob, *[, ...])

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

open_mfdatatree(path_glob, *[, ...])

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

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