<!--
(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="pgrib"
                directory="decoders"
                prefix="grib"
                xmltag="grib"
                name="TileDecoder">
                <documentation>
		Responsible for reading and interpolating GRIB data.
                </documentation>
                <parameter member="file_name"
                        to="string"
                        default=""
                        from="string"
                        name="grib_input_file_name">
                        <release>Magics++0.1</release>
                        <documentation>The name of the input file containing the GRIB code field(s)</documentation>
                </parameter>
                <parameter member="projection"
                        to="string"
                        default="cylindrical"
                        from="string"
                        name="grib_tile_projection"></parameter>
                <parameter member="loop"
                        to="bool"
                        default="off"
                        from="string"
                        name="grib_loop"></parameter>
                <parameter member="z"
                        to="int"
                        default="1"
                        from="int"
                        name="grib_tile_z"></parameter>
                <parameter member="x"
                        to="int"
                        default="0"
                        from="int"
                        name="grib_tile_x"></parameter>
                <parameter member="y"
                        to="int"
                        default="0"
                        from="int"
                        name="grib_tile_y"></parameter>
                <parameter member="scaling"
                        to="bool"
                        default="on"
                        from="string"
                        name="grib_automatic_scaling">
                        <release>Magics++0.3</release>
                        <documentation>Scaling of the decoded field</documentation>
                </parameter>
                <parameter member="scaling_factor"
                        to="float"
                        default="1"
                        from="float"
                        name="grib_scaling_factor">
                        <release>Magics++2.10</release>
                        <documentation>Apply a scaling factor to the field.</documentation>
                </parameter>
                <parameter member="scaling_offset"
                        to="float"
                        default="0"
                        from="float"
                        name="grib_scaling_offset">
                        <release>Magics++2.10</release>
                        <documentation>Apply a scaling offset to the field.</documentation>
                </parameter>
        </class>
</magics>
