ws_quasi_stationary

../../_images/WS_QUASISTATIONARY.png

Defines a quasi-stationary front Weather Symbol Object that can be visualised with plot().

New in Metview version 5.15.0.

Warning

The script-based Weather Symbol Object visualisation is currently restricted to the ‘screen’ output target (i.e. when the output is Metview’s plot window). On the one hand this requires the Metview GUI to be installed, on the other hand it limits the script-based visualisation to these cases:

  • execute the code in Metview’s Code Editor (the default output target here is already ‘screen’)

  • execute the code as a Jupyter notebook with the output target set to ‘screen’ (see setoutput()):

In any other cases, e.g. in batch mode, plot() does not work.

Note

This function performs the same task as the Ws Quasi Stationary icon in Metview’s user interface. It accepts its parameters as keyword arguments, described below.

ws_quasi_stationary(**kwargs)

Defines a quasi-stationary front Weather Symbol Object.

Parameters
  • warm_colour (str, default: "red") – Colour of the warm front segment.

  • cold_colour (str, default: "blue") – Colour of the cold front segment.

  • type ({"surface", "upper", "frontogenesis", "frontolysis"}, default: "surface") – Specifies the front type.

  • line_thickness (number, default: 1) – Thickness of the front curve.

  • symbol_width (number, default: 10) – Width of the triangle/semi-circle symbol.

  • symbol_gap (number, default: 15) – Width of the gap between two symbol pairs.

  • symbol_orientation ({"left", "right"}, default: "right") – Orientation of the triangle symbols.

  • x (ndarray or list of numbers, default: 0) – The x coordinates of the control points of the curve. At least two points must be specified.

  • y (ndarray or list of numbers, default: 0) – The y coordinates of the control points of the curve. At least two points must be specified.

  • geolock (on_off, default: off) – Sets the geolock on the item for interactive editing in the plot window.

  • tooltip (str) – Text that appears as a tooltip when the visualised object is hovered over in Metview’s plot window.

Return type

Request