lidarSuit.dataOperator.getRestructuredData¶
- class lidarSuit.dataOperator.getRestructuredData(data, snr=False, status=True, nProf=500, center=True, min_periods=30, nStd=2, check90=True)[source]¶
Data re-structurer
It prepares the data structure for using the wind retrieval modules.
Examples
>>> windProp = lidarSuit.getRestructuredData(mergedData)
- Parameters:
data (
xr.Dataset) – a xr.Dataset of pre-processed datasnr (
bool,int, optional) – if an interger is given it is used to as threshold to filter the data based on the signal to noise ratiostatus (
bool, optional) – if true it filters the data using the status variable generated by the WindCube’s softwaresProf (
int, optional) – number of profiles used to calculate the anomaly for partially filter the second trip echoes (IT GOES TO FILTER MODULE)center (
bool, optional) – (IT GOES TO FILTER MODULE)min_periods (
int, optional) – (IT GOES TO FILTER MODULE)nStd (
int, optional) – size of the standard deviation window used to partially remove the second trip echoes (IT GOES TO FILTER MODULE)check90 (
bool, optional) – If True, it checks if the vertical observations are available. If False, the verification is ignored.
- Returns:
object – an instance of the prepared for the retrieval
- Return type:
object
- __init__(data, snr=False, status=True, nProf=500, center=True, min_periods=30, nStd=2, check90=True)[source]¶
Methods
__init__(data[, snr, status, nProf, center, ...])dataTransform()It creates an xr.DataArray from all slanted observations
dataTransform90()It creates an xr.DataArray from all vertically pointing observations
getCoordNon90()It identifies and selects the slanted data
vertical_component_check(check90)