<!--
(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 action="pbinning"
		directory="decoders"
		prefix="binning"
		xmltag="binning"
		name="BinningObject">
		<documentation>
		This is responsible for accessing biining data .. scattered data can displayed as matrix!
		</documentation>
		<parameter from="string"
			name="binning_x_method"
			default="count"
			member="x"
			to="string"
			values="count/list/interval">
			<documentation>Method to compute binns : count/list/interval</documentation>
			<set name="binning_x_count" value="count"></set>
			<set name="binning_x_interval" value="interval"></set>
			<set name="binning_x_reference" value="interval"></set>
			<set name="binning_x_list" value="list"></set>
		</parameter>
		<parameter member="x_min"
			to="float"
			default="-1.0e+21"
			from="float"
			name="binning_x_min_value">
			<documentation>Min value used to compute the binns</documentation>
		</parameter>
		<parameter member="x_max"
			to="float"
			default="1.0e+21"
			from="float"
			name="binning_x_max_value">
			<documentation>Max value used to compute the binns</documentation>
		</parameter>
		<parameter member="x_count"
			to="int"
			default="10"
			from="int"
			name="binning_x_count">
			<documentation>Aprroximate number on binns when using the count method</documentation>
		</parameter>
		<parameter member="x_list"
			to="floatarray"
			default="floatarray()"
			from="floatarray"
			name="binning_x_list">
			<documentation>list of binns when using the list method</documentation>
		</parameter>
		<parameter member="x_interval"
			to="float"
			default="10"
			from="float"
			name="binning_x_interval">
			<documentation>list of binns when using the interval method</documentation>
		</parameter>
		<parameter member="x_reference"
			to="float"
			default="0"
			from="float"
			name="binning_x_reference">
			<documentation>list of binns when using the interval method</documentation>
		</parameter>
		<parameter from="string"
			name="binning_y_method"
			default="count"
			member="y"
			to="string"
			values="count/list/interval">
			<documentation>Method to compute binns : count/list/interval</documentation>
			<set name="binning_y_count" value="count"></set>
			<set name="binning_y_interval" value="interval"></set>
			<set name="binning_y_reference" value="interval"></set>
			<set name="binning_y_list" value="list"></set>
		</parameter>
		<parameter member="y_min"
			to="float"
			default="-1.0e+21"
			from="float"
			name="binning_y_min_value">
			<documentation>Min value used to compute the binns</documentation>
		</parameter>
		<parameter member="y_max"
			to="float"
			default="1.0e+21"
			from="float"
			name="binning_y_max_value">
			<documentation>Max value used to compute the binns</documentation>
		</parameter>
		<parameter member="y_count"
			to="int"
			default="10"
			from="int"
			name="binning_y_count">
			<documentation>Aprroximate number on binns when using the count method</documentation>
		</parameter>
		<parameter member="y_list"
			to="floatarray"
			default="floatarray()"
			from="floatarray"
			name="binning_y_list">
			<documentation>list of binns when using the list method</documentation>
		</parameter>
		<parameter member="y_interval"
			to="float"
			default="10"
			from="float"
			name="binning_y_interval">
			<documentation>list of binns when using the interval method</documentation>
		</parameter>
		<parameter member="y_reference"
			to="float"
			default="0"
			from="float"
			name="binning_y_reference">
			<documentation>list of binns when using the interval method</documentation>
		</parameter>
	</class>
</magics>
