<!--
(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 xmltag="wrepjson"
		name="WrepJSon"
		directory="web"
		prefix="wrepjson"
		action="pwrepjson"
		include="EpsJSon.h">
		<parameter member="path"
			to="string"
			default=""
			from="string"
			name="wrepjson_input_filename">
			<documentation>Path to the file containing the Bufr data</documentation>
		</parameter>
		<parameter member="param_info"
			to="string"
			default=""
			from="string"
			name="wrepjson_parameter_information">
			<documentation>Product information for  key=parameter_info</documentation>
		</parameter>
		<parameter member="title"
			to="bool"
			default="on"
			from="string"
			name="wrepjson_title"
			visible='false'>
			<documentation>Do not create automatic title</documentation>
		</parameter>
		<parameter member="position_info"
			to="bool"
			default="on"
			from="string"
			name="wrepjson_position_information">
			<documentation>Switch on/off the position information in the title.</documentation>
		</parameter>
		<parameter member="product_info"
			to="string"
			default=""
			from="string"
			name="wrepjson_product_information">
			<documentation>Product information for  key=product_info</documentation>
		</parameter>
		<parameter member="family"
			to="string"
			default="eps"
			from="string"
			name="wrepjson_family">
			<documentation>How to interpret the json file</documentation>
		</parameter>
		<parameter member="key"
			to="string"
			default=""
			from="string"
			name="wrepjson_key">
			<documentation>Forecast information to plot!</documentation>
		</parameter>
		<parameter member="plumes"
			to="float"
			default="1"
			from="float"
			name="wrepjson_plumes_interval">
			<documentation>plumes interval</documentation>
		</parameter>
		<parameter member="information"
			to="bool"
			default="on"
			from="string"
			name="wrepjson_information">
			<documentation>Plot or not information about station/forecast  in a long title</documentation>
		</parameter>
		<parameter member="keyword"
			to="string"
			default=""
			from="string"
			name="wrepjson_keyword">
			<documentation>if several eps data are put in the same json object, give the keyowrd to find them</documentation>
		</parameter>
		<parameter member="cams_keyword"
			to="string"
			default="uv_index"
			from="string"
			name="wrepjson_cams_keyword">
			<documentation>Special for cams</documentation>
		</parameter>
		<parameter member="cams_y_keyword"
			to="string"
			default="uv_index"
			from="string"
			name="wrepjson_cams_y_keyword">
			<documentation>Special for cams</documentation>
		</parameter>
		<parameter member="station_name"
			to="string"
			default=""
			from="string"
			name="wrepjson_station_name">
			<documentation>Name of the station to use in the title</documentation>
		</parameter>
		<parameter member="param"
			to="string"
			default="1"
			from="string"
			name="wrepjson_parameter">
			<documentation>Scaling factor to apply to the values</documentation>
		</parameter>
		<parameter member="param_scaling_factor"
			to="float"
			default="1"
			from="float"
			name="wrepjson_parameter_scaling_factor">
			<documentation>Scaling factor to apply to the values</documentation>
		</parameter>
		<parameter member="param_offset_factor"
			to="float"
			default="0"
			from="float"
			name="wrepjson_parameter_offset_factor">
			<documentation>Scaling factor to apply to the values</documentation>
		</parameter>
		<parameter member="clim_param"
			to="string"
			default=""
			from="string"
			name="wrepjson_clim_parameter">
			<documentation>date to select for the clim In date format (YYYYMMDDHHHH)</documentation>
		</parameter>
		<parameter member="clim_step"
			to="int"
			default="36"
			from="int"
			name="wrepjson_clim_step">
			<documentation>date to select for the clim In date format (YYYYMMDDHHHH)</documentation>
		</parameter>
		<parameter member="steps"
			to="intarray"
			default="intarray()"
			from="intarray"
			name="wrepjson_steps">
			<documentation>steps to extract ( legend will use step+12)</documentation>
		</parameter>
		<parameter member="percentile"
			to="float"
			default="1"
			from="float"
			name="wrepjson_y_axis_percentile">
			<documentation>use of threshold</documentation>
		</parameter>
		<parameter member="threshold"
			to="float"
			default="50"
			from="float"
			name="wrepjson_y_axis_threshold">
			<documentation>use of threshold   to get rid of the unlikely values</documentation>
		</parameter>
		<parameter member="y_max_threshold"
			to="float"
			default="INT_MAX"
			from="float"
			name="wrepjson_y_max_threshold">
			<documentation>If all the values are below the threshold, use the threshold as max value when automatic setting of y axis</documentation>
		</parameter>
		<parameter member="y_percent"
			to="float"
			default="0.01"
			from="float"
			name="wrepjson_y_percentage">
			<documentation>percentage of the range to add to compute automatic minmax of axis.</documentation>
		</parameter>
		<parameter member="shift"
			to="float"
			default="12"
			from="float"
			name="wrepjson_x_shift">
			<documentation>value to add to the range to compute automatic max of axis.</documentation>
		</parameter>
		<parameter member="correction"
			to="bool"
			default="off"
			from="string"
			name="wrepjson_temperature_correction">
			<documentation>Temperature correction</documentation>
		</parameter>
		<parameter member="missing_value"
			to="float"
			default="-9999"
			from="float"
			name="wrepjson_missing_value">
			<documentation>Missing value</documentation>
		</parameter>
		<parameter member="ignore_keys"
			to="stringarray"
			default="stringarray()"
			from="stringarray"
			name="wrepjson_ignore_keys"
			visible='off'>
			<documentation>List of keys to ignore when reading onput data</documentation>
		</parameter>
		<parameter member="profile_quantile"
			to="string"
			default=""
			from="string"
			name="wrepjson_profile_quantile"
			visible='off'>
			<documentation>List of keys to ignore when reading onput data</documentation>
		</parameter>
		<parameter member="hodograph_grid"
			to="bool"
			default="off"
			from="string"
			name="wrepjson_hodograph_grid"
			visible='off'>
			<documentation>add the Grid for the hodograph!</documentation>
		</parameter>
		<parameter member="hodograph_tephi"
			to="bool"
			default="off"
			from="string"
			name="wrepjson_hodograph_tephi"
			visible='off'>
			<documentation>add the Grid for the hodograph!</documentation>
		</parameter>
		<parameter member="hodograph_member"
			to="int"
			default="-1"
			from="int"
			name="wrepjson_hodograph_member"
			visible='off'>
			<documentation>slecet only one member</documentation>
		</parameter>
	</class>
</magics>
