<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
   Example Mosaic Processing Request File: Init + Update Mode.
-->
<RequestList>
    <Request type="MOSAIC">

        <!--
            Define processing mode:
            The parameter "update_mode" is optional. "false" is the default value.
        -->
        <Parameter name="update_mode" value="false"/>

        <!--
            Define projection and output parameters:
            mandatory if NOT in update mode
        -->
        <Parameter name="projection_name" value="Lambert Conformal Conic"/>
        <Parameter name="projection_parameters" value="6378137.0,6356752.3,90.0,0.0,20.0,60.0,1.0"/>
        <Parameter name="pixel_size_x" value="1000.0"/>
        <Parameter name="pixel_size_y" value="1000.0"/>
        <Parameter name="west_lon" value="-11.0"/>
        <Parameter name="north_lat" value="49.0"/>
        <Parameter name="east_lon" value="10.0"/>
        <Parameter name="south_lat" value="29.0"/>

        <!--
	        Orthorectification parameters:
            The parameter "orthorectification" is optional. "false" is the default value.
            The parameter "orthorectification_dem" is optional.
        -->
        <Parameter name="orthorectification" value="true"/>
        <Parameter name="orthorectification_dem" value="GETASSE30"/>

        <!--
	        Output Variables:
            At least one processing variable is mandatory if NOT in update mode
        -->
        <Parameter name="radiance_1.expression" value="radiance_1"/>
        <Parameter name="radiance_2.expression" value="radiance_2"/>
        <Parameter name="radiance_3.expression" value="radiance_3"/>
        <Parameter name="mean_4_7.expression" value="0.5 * (radiance_4 + radiance_7)"/>
        <Parameter name="diff_4_7.expression" value="radiance_4 - radiance_7"/>
        <Parameter name="coastline.expression" value="l1_flags.COASTLINE"/>

        <!--
            Valid Pixel Criteria:
            If no criteria is defined, all pixels from all input products are to process
        -->
        <Parameter name="land.expression" value="l1_flags.LAND_OCEAN and not l1_flags.BRIGHT and not l1_flags.INVALID"/>
        <Parameter name="land.condition" value="true"/>
        <Parameter name="land.output" value="false"/>
        <Parameter name="water.expression"
                   value="not l1_flags.LAND_OCEAN and not l1_flags.BRIGHT and not l1_flags.INVALID"/>
        <Parameter name="water.condition" value="true"/>
        <Parameter name="water.output" value="false"/>
        <Parameter name="condition_operator" value="OR"/>

        <!--
            Input Products:
            If processor runs in update mode, at least one input product must be defined,
            otherwise input products are optional.
            If no input products are defined, an empty mosaic product will be created
        -->
        <InputProduct URL="file:/I:/mosaic/data/MER_FR__1PNDPA20030812_102139_000000982019_00008_07577_0094.N1"/>
        <InputProduct URL="file:/I:/mosaic/data/MER_FR__1PNDPA20030812_102317_000000982019_00008_07577_0093.N1"/>
        <InputProduct URL="file:/I:/mosaic/data/MER_FR__1PNDPA20030812_102317_000000982019_00008_07577_0095.N1"/>
        <InputProduct URL="file:/I:/mosaic/data/MER_FR__1PNDPA20030813_094917_000000982019_00022_07591_0116.N1"/>

        <!--
            Output Product:
            If processor runs in update mode, the output product must be an existing mosaic product,
            otherwise a new output product will be created, or an existing output product will be
            overwritten.
        -->
        <OutputProduct URL="file:/I:/mosaic/data/mosaic_out.dim" format="BEAM-DIMAP"/>

        <!-- Optional logging parameters -->
        <Parameter name="log_to_output" value="false"/>
        <Parameter name="log_prefix" value="mosaic"/>

    </Request>

</RequestList>