<!--
(C) Copyright 1996-2016 ECMWF.
This software is licensed under the terms of the Apache Licence Version 2.0
which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation nor
does it submit to any jurisdiction.
-->
<magics>
  <class inherits="ColourTechnique"
    include="ColourTechnique.h"
    name="PaletteColourTechnique"
    directory="visualisers"
    python = "mcont"
    action="pcont">
    <parameter member="palette"
      to="string"
      default="ecmwf"
      from="string"
      name="contour_shade_palette_name">
      <documentation>Name of the palette.</documentation>
    </parameter>

    <parameter from="string"
      name="contour_shade_colour_reverse_list"
      default="off"
      member="reverse"
      to="bool">
      <documentation> If true, we will reverse the order of the list of colours </documentation>
    </parameter>

     <parameter from="string"
      name="contour_shade_colour_list_policy"
      default="lastone"
      member="list_policy"
      to="ColourListPolicy">
      <documentation> What to do if the list of colours is smaller that the list of levels: lastone/cycle </documentation>
    </parameter>
    
  </class>
</magics>
