"""
Functionality for working with Xarray for seismology data.
"""

from obsplus.waveforms.xarray.accessor import ops_method, OPS_METHODS

from obsplus.waveforms.xarray.utils import keep_attrs, _add_level, get_nslc_df
from obsplus.waveforms.xarray.io import netcdf2array


# load in all aggregation plugins
from obsplus.waveforms.xarray.aggregate import (
    register_aggregation_func,
    _get_aggregate_from_xarray,
)

# this ensures the ops methods in this module are loaded
from obsplus.waveforms.xarray.signal import array_rfft
