cubic_spline_interp
Classes:
Name | Description |
---|---|
CubicSplineInterp |
|
Classes#
CubicSplineInterp #
Bases: QualityHandler
Interpolate over mask values in timeseries data using the specified method
Parameters#
variable_name : xarray.DataArray The dataArray to clean. mask : bool Logical tensor of elements to "nan" out and replace npt : int The number of points on either side of the bad values that interpolation occurs over method : string Interpolation scheme to use (linear, cubic, pchip, etc) max_gap : int Max number of consective nan's to interpolate across, must be <= npt/2
Returns#
da : xarray.DataArray The dataArray with nan's filled in
Classes:
Name | Description |
---|---|
Parameters |
|
Methods:
Name | Description |
---|---|
run |
|
Attributes:
Name | Type | Description |
---|---|---|
parameters |
Parameters
|
|