act.retrievals.calculate_stability_indicies

act.retrievals.calculate_stability_indicies(ds, temp_name='temperature', td_name='dewpoint_temperature', p_name='pressure', rh_name='relative_humidity', moving_ave_window=0)[source]

Function for calculating stability indices from sounding data.

Parameters:
  • ds (ACT dataset) – The dataset to compute the stability indicies of. Must have temperature, dewpoint, and pressure in vertical coordinates.

  • temp_name (str) – The name of the temperature field.

  • td_name (str) – The name of the dewpoint field.

  • p_name (str) – The name of the pressure field.

  • rh_name (str) – The name of the relative humidity field.

  • moving_ave_window (int) – Number of points to do a moving average on sounding data to reduce noise. This is useful if noise in the sounding is preventing parcel ascent.

Returns:

ds (ACT dataset) – An ACT dataset with additional stability indicies added.