lidarSuit.wind_prop_retrieval.GetWindProperties5Beam

class lidarSuit.wind_prop_retrieval.GetWindProperties5Beam(data, status_filter=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 (merged_ds) output from lst.DbsOperations()

  • status_filter (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 (.hor_wind_speed) and direction (.hor_wind_dir).

Return type:

object

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

Methods

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

calc_hor_wind_comp_continuous()

Function to derive wind v and u components.

calc_hor_wind_comp_single_dbs()

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

calc_hor_wind_dir()

Function to derive wind direction.

calc_hor_wind_speed()

Function to calculate the wind speed.

correct_vert_wind_comp()

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

correct_wind_comp(comp)

This function replaces the gate_index coordinate by the measurement_height.