lidarSuit.windPropRetrieval.getWindProperties5Beam

class lidarSuit.windPropRetrieval.getWindProperties5Beam(data, statusFilter=True, cnr=None, method='single_dbs', tolerance='8s')[source]

DBS wind retrieval

This class caculates the wind speeed and direction using the 5bean dataset (DBS files) as input.

Parameters:
  • data (xarray.Dataset) – merged xarray dataset (mergedDS) output from lst.dbsOperations()

  • statusFilter (bolean) – Data filtering based on the wind lidar wind status variable. If True, all data with status not equal to 1 are removed. If False, no filtering is applied.

  • cnr (int, optional) – Filter based on the carrier to noise ratio. If None, no filtering is applied. If a cnr value is given, all data smaller than the cnr is removed.

  • method (str) – It can be ‘single_dbs’ (default) or ‘continuous’. If single_dbs: the wind information is retrieved from comple sets of DBS profiles. If continuos: it uses the nearest 4 observations to retrieve the wind information, a tolerance wind has to be specified.

  • tolerance (str) – It defines the tolerance window that the method will use for identify the nearest profile. Example: ‘8s’ for 8 seconds.

Returns:

object – This class returns an object containing the derived wind speed (.horWindSpeed) and direction (.horWindDir).

Return type:

object

__init__(data, statusFilter=True, cnr=None, method='single_dbs', tolerance='8s')[source]

Methods

__init__(data[, statusFilter, cnr, method, ...])

calcHorWindComp_continuous()

Function to derive wind v and u components.

calcHorWindComp_single_dbs()

This method derives v and u components from the WindCube DBS files.

calcHorWindDir()

Function to derive wind direction.

calcHorWindSpeed()

Function to calculate the wind speed.

correctVertWindComp()

This function replaces the original coordinate from the vertical wind component by the measurement_height.

correctWindComp(comp)

This function replaces the gate_index coordinate by the measurement_height.