lidarSuit.filters.secondTripEchoFilter¶
- class lidarSuit.filters.secondTripEchoFilter(data, timeCloudMask, nProf=500, center=True, min_periods=30, nStd=2, strH='09', endH='16')[source]¶
Boundary layer second trip echoes filter
This filter minimises the presence of second trip echoes (STE). This filter is based on the standard deviation of the anomaly of the observaions. It is applicable in regions where there is a contrast between the real data and the STE.
- Parameters:
data (
object) – the object returned from the getRestructuredDatatimeCloudMaks (
xarray.DataArray) – it is a time series for indicating the presence of clouds above the maximum WinCube range. 1 indicates cloud and 0 indicates no cloud. (THIS MAKS IS NOT NEEDED NOW)nProf (
int) – number of profiles used to calculating the anomalycenter (
bool, optional) – it defines how the mean value for the anomaly will be calculatedmin_periods (
int) – minimum number of profiles used for calculating the mean valuenStd (
int) – Multiplication factor for defining the size of the window to keep the data. The filter removes any anomaly larger than nStd * stdstrH (
str) – starting hour for calculating the anomalyendH (
str) – end hour for calculating the anomaly
- Returns:
object – an object containing data filtered for STE
- Return type:
object
- __init__(data, timeCloudMask, nProf=500, center=True, min_periods=30, nStd=2, strH='09', endH='16')[source]¶
Methods
__init__(data, timeCloudMask[, nProf, ...])calMeanAndAnom90()It calculates the anomaly from the vertical observations
calMeanAndAnomSlant()It calculates the anomaly from the slanted observations
cleaning()It removes the data that is larger than the nStd * anomaly from the slanted observations
cleaning90()It removes the data that is larger than the nStd * anomaly from the vertical observations
getTimeEdges([strH, endH])It creates the time boundaries for the STD anomaly calculation