The userconf files

The default configuration can be tuned by editing the files stored in the “startmaja/userconf/” directory. It contains one xml file per sensor configuration. As an example, for Sentinel 2 :

<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="./MAJAUserConfig.xsd" xmlns="http://maja.fr">
    <Business>
        <!-- Image divisions size (number of lines) -->
	    <ImageDivision method="strips">
	      <NbStrips>
            <!-- Image divisions size (in number of lines) for the L2 Init Processing -->
	        <L2InitProcessing>800</L2InitProcessing>
            <!-- Image divisions size (in number of lines) for the L2 Nominal Processing -->
	        <L2NominalProcessing>800</L2NominalProcessing>
            <!-- Image divisions size (in number of lines) L2 Backward Processing -->
	        <L2BackwardProcessing>800</L2BackwardProcessing>
            <!-- Image divisions size (in number of lines) L3 Processing -->
	        <L3Processing>800</L3Processing>
            <!-- Image divisions size (in number of lines) Checktool -->
	        <ChecktoolProcessing>800</ChecktoolProcessing>
	      </NbStrips>
	    </ImageDivision>
	    <!-- L2 coarse resolution in meter -->
	    <L2CoarseResolution>240</L2CoarseResolution>
      <!-- Option to write or not write SRE images in the L2 product-->
      <WriteSRE>true</WriteSRE>
      <WriteTransmission>false</WriteTransmission>
      <WriteProportions>false</WriteProportions>
      <WriteRH>false</WriteRH>
    </Business>
    <Algorithms>
      <GRID_Reference_Altitudes>
        <!-- First reference altitude of solar grid (in meter) -->
        <SOLH1>3000</SOLH1>
        <!-- First reference altitude of solar direction (in meter) -->
        <SOLHRef>4000</SOLHRef>
        <!-- Reference altitude of viewing direction (in meter) -->
        <VIEHRef>3000</VIEHRef>
      </GRID_Reference_Altitudes>
      <Atmospheric_Absorption_Correction>
        <!-- Option to use default constant value available in GIPP instead of meteorological data to determine the ozone amount -->
        <Use_Default_Constant_Ozone_Amount>true</Use_Default_Constant_Ozone_Amount>
      </Atmospheric_Absorption_Correction>
    </Algorithms>
</Config>

While we recommend to leave some of these parameters unchanged, you may be interested to change the default coarse resolution :

<!-- L2 coarse resolution in meter -->
<L2CoarseResolution>120</L2CoarseResolution>

or activate the option to store the CAMS relative humidity (RH) and aerosol proportions used to process the product :

<WriteProportions>true</WriteProportions>
<WriteRH>true</WriteRH>

or activate the option to store the calculated transmissions as array in the output L2A product :

<WriteTransmission>true</WriteTransmission>

Search