<!--
(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="GribLoopStep"
		xmltag="loopondate"
		name="DateGribLoopStep"
		directory="decoders"
		prefix="grib/grib_loop_step"
		action="pgrib"
		include="GribLoopStep.h">
		<documentation>
		Sets the parameters related to looping on dates in a GRIB loop.
		</documentation>
		<parameter xml="loop_step_span"
			from="float"
			name="grib_loop_step_span"
			default="3"
			member="span"
			to="float">
			<documentation>Time interval</documentation>
		</parameter>
		<parameter member="address_mode"
			to="GribAddressMode"
			default="record"
			from="string"
			name="grib_file_address_mode">
			<option xml="record" fortran="record" include="GribAddressMode.h" name="GribAddressRecordMode"></option>
			<option xml="byte_offset" fortran="byte_offset" include="GribAddressMode.h" name="GribAddressByteMode"></option>
			<documentation>Normally GRIB fields are stored as records on a file. If the BYTE offset method is being used, the parameter GRIB_FILE_ADDRESS_MODE should be set to 'BYTE_OFFSET'.(RECORD_NUMBER/BYTE_OFFSET)</documentation>
		</parameter>
	</class>
</magics>
