-
Notifications
You must be signed in to change notification settings - Fork 0
/
L2A_GIPP.xml
119 lines (119 loc) · 6.44 KB
/
L2A_GIPP.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>
<Level-2A_Ground_Image_Processing_Parameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="L2A_GIPP.xsd">
<Common_Section>
<Log_Level>DEBUG</Log_Level>
<!-- can be: NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL -->
<Region_Of_Interest>
<row0>OFF</row0>
<col0>OFF</col0>
<nrow_win>3000</nrow_win>
<ncol_win>3000</ncol_win>
<!-- this defines a configurable Region of Interest (ROI) -->
<!-- if row0 == OFF: standard processing without ROI detection -->
<!-- if row0 == AUTO: region of interest is detected automatically via an algorithm -->
<!-- else: row0, col0: specifies the midpoint of the region of interest -->
<!-- if not OFF or AUTO: nrow_win, ncol_win defines a rectangle around the midpoint in pixel -->
<!-- row0, col0, nrow_win and ncol_win must be integer divisible by 6, to prevent rounding errors for downsampling -->
<!-- specify always a 10m resolution ROI, it will be automatically adapted to the lower resolutions -->
</Region_Of_Interest>
<Nr_Threads>AUTO</Nr_Threads>
<!-- Nr_Treads determines the number of threads used for reading the OpenJPEG2 images. This is a new
feature implemented with OpenJPEG 2.3., improving the speed for importing the Bands.
If AUTO is chosen, the number of treads are deduced, using cpu_count().
Set this to 1 up to a maximum of 8, if this automatic mode will not fit to your platform -->
<DEM_Directory>dem/srtm</DEM_Directory>
<!-- should be either a directory in the sen2cor home folder or 'NONE'. If NONE, no DEM will be used -->
<!--DEM_Reference>NONE</DEM_Reference-->
<DEM_Reference>http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/</DEM_Reference>
<!-- disable / enable the upper two rows if you want to use an SRTM DEM -->
<!-- The SRTM DEM will then be downloaded from this reference, if no local DEM is available -->
<!-- if you use Planet DEM you can optionally add the local path instead,
which then will be inserted in the datastrip metadata -->
<Generate_DEM_Output>FALSE</Generate_DEM_Output>
<!-- FALSE: no DEM output, TRUE: store DEM in the AUX data directory -->
<Force_Exit_On_DEM_Error>TRUE</Force_Exit_On_DEM_Error>
<!-- FALSE: Processing continues with a flat surface, TRUE: processing will be stopped -->
<Generate_TCI_Output>FALSE</Generate_TCI_Output>
<!-- FALSE: no TCI output, TRUE: store TCI in the IMAGE data directory -->
<Generate_DDV_Output>FALSE</Generate_DDV_Output>
<!-- FALSE: no DDV output, TRUE: store DDV in the QI_DATA directory -->
<Downsample_20_to_60>FALSE</Downsample_20_to_60>
<!-- TRUE: create additional 60m bands when 20m is processed -->
<PSD_Scheme PSD_Version="14.2" PSD_Reference="S2-PDGS-TAS-DI-PSD-V14.2_Schema">
<UP_Scheme_1C>S2_User_Product_Level-1C_Metadata</UP_Scheme_1C>
<UP_Scheme_2A>S2_User_Product_Level-2A_Metadata</UP_Scheme_2A>
<Tile_Scheme_1C>S2_PDI_Level-1C_Tile_Metadata</Tile_Scheme_1C>
<Tile_Scheme_2A>S2_PDI_Level-2A_Tile_Metadata</Tile_Scheme_2A>
<DS_Scheme_1C>S2_PDI_Level-1C_Datastrip_Metadata</DS_Scheme_1C>
<DS_Scheme_2A>S2_PDI_Level-2A_Datastrip_Metadata</DS_Scheme_2A>
</PSD_Scheme>
<PSD_Scheme PSD_Version="14.6" PSD_Reference="S2-PDGS-TAS-DI-PSD-V14.6_Schema">
<UP_Scheme_1C>S2_User_Product_Level-1C_Metadata</UP_Scheme_1C>
<UP_Scheme_2A>S2_User_Product_Level-2A_Metadata</UP_Scheme_2A>
<Tile_Scheme_1C>S2_PDI_Level-1C_Tile_Metadata</Tile_Scheme_1C>
<Tile_Scheme_2A>S2_PDI_Level-2A_Tile_Metadata</Tile_Scheme_2A>
<DS_Scheme_1C>S2_PDI_Level-1C_Datastrip_Metadata</DS_Scheme_1C>
<DS_Scheme_2A>S2_PDI_Level-2A_Datastrip_Metadata</DS_Scheme_2A>
</PSD_Scheme>
<GIPP_Scheme>L2A_GIPP</GIPP_Scheme>
<SC_Scheme>L2A_CAL_SC_GIPP</SC_Scheme>
<AC_Scheme>L2A_CAL_AC_GIPP</AC_Scheme>
<PB_Scheme>L2A_PB_GIPP</PB_Scheme>
</Common_Section>
<Scene_Classification>
<Filters>
<Median_Filter>0</Median_Filter>
</Filters>
</Scene_Classification>
<Atmospheric_Correction>
<Look_Up_Tables>
<Aerosol_Type>RURAL</Aerosol_Type>
<!-- RURAL, MARITIME, AUTO -->
<Mid_Latitude>SUMMER</Mid_Latitude>
<!-- SUMMER, WINTER, AUTO -->
<Ozone_Content>331</Ozone_Content>
<!-- The atmospheric temperature profile and ozone content in Dobson Unit (DU)
0: to get the best approximation from metadata
(this is the smallest difference between metadata and column DU),
else select one of:
==========================================
For midlatitude summer (MS) atmosphere:
250, 290, 331 (standard MS), 370, 410, 450
==========================================
For midlatitude winter (MW) atmosphere:
250, 290, 330, 377 (standard MW), 420, 460
==========================================
-->
</Look_Up_Tables>
<Flags>
<WV_Correction>1</WV_Correction>
<!-- 0: No WV correction, 1: correction with 940 nm band (default) -->
<VIS_Update_Mode>1</VIS_Update_Mode>
<!-- 0: constant, 1: variable visibility -->
<WV_Watermask>1</WV_Watermask>
<!-- 0: not replaced, 1: land-average, 2: line-average -->
<Cirrus_Correction>TRUE</Cirrus_Correction>
<!-- FALSE: no cirrus correction applied, TRUE: cirrus correction applied -->
<DEM_Terrain_Correction>TRUE</DEM_Terrain_Correction>
<!--Use DEM for Terrain Correction, otherwise only used for WVP and AOT -->
<BRDF_Correction>0</BRDF_Correction>
<!-- 0: no BRDF correction, 1, 2: see IODD for explanation -->
<BRDF_Lower_Bound>0.22</BRDF_Lower_Bound>
<!-- In most cases, g=0.2 to 0.25 is adequate, in extreme cases of overcorrection g=0.1 should be applied -->
</Flags>
<Calibration>
<Adj_Km>1.000</Adj_Km>
<!-- Adjancency Range [km] -->
<Visibility>40.0</Visibility>
<!-- visibility (5 <= visib <= 120 km) -->
<Altitude>0.100</Altitude>
<!-- [km] -->
<Smooth_WV_Map>100.0</Smooth_WV_Map>
<!-- length of square box, [meters] -->
<WV_Threshold_Cirrus>0.25</WV_Threshold_Cirrus>
<!-- water vapor threshold to switch off cirrus algorithm [cm]Range: 0.1-1.0 -->
<Database_Compression_Level>0</Database_Compression_Level>
<!-- zlib compression level for image database [0-9, 0: best speed, 9: best size] -->
</Calibration>
</Atmospheric_Correction>
</Level-2A_Ground_Image_Processing_Parameter>