act.retrievals.calculate_stability_indicies

act.retrievals.calculate_stability_indicies(ds, temp_name='temperature', td_name='dewpoint_temperature', p_name='pressure', 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.

  • 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.