act.corrections.correct_rl

act.corrections.correct_rl(ds, var_name='depolarization_counts_high', fill_value=1e-07, range_normalize_log_values=False)[source]

This procedure corrects raman lidar data by filling all zero and negative values of backscatter with fill_value and then converting the backscatter data into logarithmic space. It will also look for a coordinate height dimension, and if one is not found will create using values from global attributes.

Parameters:
  • ds (xarray.Dataset) – The doppler lidar dataset to correct. The backscatter data should be in linear space.

  • var_name (str) – The variable name of data in the dataset.

  • fill_value (float) – The fill_value to use. The fill_value is entered in linear space.

  • range_normalize_log_values (boolean) – Option to range normalize and convert to log scale of counts values.

Returns:

ds (xarray.Dataset) – The raman lidar dataset containing the corrected values.