radtraq.plotting.calc_cfad

radtraq.plotting.calc_cfad(obj, variable, height_variable=None, xbins=None)[source]

Function for calculating CFAD

Parameters:
  • object (Xarray.Dataset) – ACT object containing vertical point data

  • variable (string) – Variable to calculate CFAD

  • height_variable (string) – Name of the height variable to use. If set to None, will attempt to determine by using coordinate varible name.

  • xbins (list) – List of bins to calculate CFAD. If None will calcualte a default.

Returns:

data_array – DataArray containg results from CFAD analysis and coordinate variables

Return type:

Xarray.DataArray