artview.core.core.Variable¶
-
class
artview.core.core.Variable(value=None)[source]¶ Bases:
PyQt5.QtCore.QObjectClass 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.RadarinstanceVgrid Hold grid open or generated with pyart pyart.core.GridinstanceVcontainer 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.GateFilterinstance or NoneVplotAxes Hold axes of Matplotlib figure matplotlib.axes.Axesinstance or NoneVPathInteriorFunc Hold auxillary function function like getPathInteriorValuesor NoneVfilelist Hold filenames in current working directory list containing paths to files (strings) VRadarCollection Cache radars list of pyart.core.RadarinstancesVpyartDisplay Hold pyart display instances instance of one of the classes in pyart.graphMethods
Variable.changeVariable.updateAttributes
-
value= None¶ Value of the Variable
-
valueChanged¶
-