.. _ws_occluded_icon: ws_occluded =============================================== .. container:: .. container:: leftside .. image:: /_static/WS_OCCLUDED.png :width: 48px .. container:: rightside Defines a occluded front :ref:`Weather Symbol Object ` that can be visualised with :func:`plot`. .. include:: /api/icon_desc/include/ws.rst .. note:: This function performs the same task as the **Ws Occluded** icon in Metview’s :ref:`user interface `. It accepts its parameters as keyword arguments, described below. .. py:function:: ws_occluded(**kwargs) Defines an occluded front :ref:`Weather Symbol Object `. :param colour: Colour of the front. :type colour: str, default: "purple" :param type: Specifies the occluded front type. :type type: {"surface", "upper", "frontogenesis", "frontolysis"}, default: "surface" :param line_thickness: Thickness of the front curve. :type line_thickness: number, default: 1 :param symbol_width: Width of the triangle/semi-circle symbols. :type symbol_width: number, default: 10 :param symbol_gap: Width of the gap between two symbol pairs. :type symbol_gap: number, default: 15 :param symbol_orientation: Orientation of the triangle/semi-circle symbols. :type symbol_orientation: {"left", "right"}, default: "right" :param x: The x coordinates of the control points of the curve. At least two points must be specified. :type x: ndarray or list of numbers, default: 0 :param y: The y coordinates of the control points of the curve. At least two points must be specified. :type y: ndarray or list of numbers, default: 0 :param geolock: Sets the geolock on the item for interactive editing in the plot window. :type geolock: on_off, default: off :param tooltip: Text that appears as a tooltip when the visualised object is hovered over in Metview's plot window. :type tooltip: str :rtype: :class:`Request` .. mv-minigallery:: ws_occluded