artview.core.core.Variable

class artview.core.core.Variable(value=None)[source]

Bases: PyQt5.QtCore.QObject

Class that holds a value, using change() emits a signal.

There is no mandatory naming for instances of this Class, however ARTview components name variable according to the following table, using it is recommended:

Shared Variables Table
Name Function Valid values
Vradar Hold radar open with pyart pyart.core.Radar instance
Vgrid Hold grid open or generated with pyart pyart.core.Grid instance
Vcontainer Alias to Vradar or Vgrid Radar, Grid or None
Vfield Name of a Field in radar file string, preferentially in radar.fields.keys(), but there is no guarranty
Vtilt Tilt (sweep) of a radar file int between 0 and (number of sweeps) - 1
VlevelZ Vertical level of a grid file int between 0 and nz - 1
VlevelY Latitudinal level of a grid file int between 0 and ny - 1
VlevelX Longitudinal level of a grid file int between 0 and nx - 1
Vlevel Alias to Vtilt, VlevelZ, VlevelY or VlevelX positive integer
Vlimits Limits of display dict containing keys: ‘xmin’, ‘xmax’, ‘ymin’, ‘ymax’ and holding float values
Vcolormap Colormap dict containing keys: ‘vmin’ and ‘vmax’ holding float values and key ‘cmap’ holding colormap string name
Vgatefilter Hold pyart GateFilter pyart.filters.GateFilter instance or None
VplotAxes Hold axes of Matplotlib figure matplotlib.axes.Axes instance or None
VPathInteriorFunc Hold auxillary function function like getPathInteriorValues or None
Vfilelist Hold filenames in current working directory list containing paths to files (strings)
VRadarCollection Cache radars list of pyart.core.Radar instances
VpyartDisplay Hold pyart display instances instance of one of the classes in pyart.graph
__init__(value=None)[source]

Methods

Variable.change
Variable.update

Attributes

value = None

Value of the Variable

valueChanged