forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sentinel2: support L1B products with geolocation arrays (MPC Sen2VM)
- Loading branch information
Showing
23 changed files
with
1,056 additions
and
89 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...TASTRIP/S2B_OPER_MSI_L1B_DATASTRIP_N01.03/GEO_DATA/S2B_OPER_MSI_L1B_DATASTRIP_D01_B01.vrt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<VRTDataset rasterXSize="95" rasterYSize="428"> | ||
<GeoTransform> -1.7500000000000000e+00, 4.5000000000000000e+00, 0.0000000000000000e+00,-1.75, 0.0000000000000000e+00,4.5 </GeoTransform> | ||
<Metadata> | ||
<MDI key="GEOREFERENCING_CONVENTION">TOP_LEFT_CORNER</MDI> | ||
<MDI key="LINE_OFFSET">-1.75</MDI> | ||
<MDI key="LINE_STEP">4.5</MDI> | ||
<MDI key="PIXEL_OFFSET">-1.75</MDI> | ||
<MDI key="PIXEL_STEP">4.5</MDI> | ||
<MDI key="SRS">EPSG:4326</MDI> | ||
<MDI key="X_BAND">1</MDI> | ||
<MDI key="Y_BAND">2</MDI> | ||
</Metadata> | ||
<VRTRasterBand dataType="Float64" band="1"> | ||
</VRTRasterBand> | ||
<VRTRasterBand dataType="Float64" band="2"> | ||
</VRTRasterBand> | ||
</VRTDataset> |
17 changes: 17 additions & 0 deletions
17
...TASTRIP/S2B_OPER_MSI_L1B_DATASTRIP_N01.03/GEO_DATA/S2B_OPER_MSI_L1B_DATASTRIP_D01_B02.vrt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<VRTDataset rasterXSize="284" rasterYSize="1281"> | ||
<GeoTransform> -1.7500000000000000e+00, 4.5000000000000000e+00, 0.0000000000000000e+00,-1.75, 0.0000000000000000e+00,4.5 </GeoTransform> | ||
<Metadata> | ||
<MDI key="GEOREFERENCING_CONVENTION">TOP_LEFT_CORNER</MDI> | ||
<MDI key="LINE_OFFSET">-1.75</MDI> | ||
<MDI key="LINE_STEP">4.5</MDI> | ||
<MDI key="PIXEL_OFFSET">-1.75</MDI> | ||
<MDI key="PIXEL_STEP">4.5</MDI> | ||
<MDI key="SRS">EPSG:4326</MDI> | ||
<MDI key="X_BAND">1</MDI> | ||
<MDI key="Y_BAND">2</MDI> | ||
</Metadata> | ||
<VRTRasterBand dataType="Float64" band="1"> | ||
</VRTRasterBand> | ||
<VRTRasterBand dataType="Float64" band="2"> | ||
</VRTRasterBand> | ||
</VRTDataset> |
17 changes: 17 additions & 0 deletions
17
...TASTRIP/S2B_OPER_MSI_L1B_DATASTRIP_N01.03/GEO_DATA/S2B_OPER_MSI_L1B_DATASTRIP_D01_B05.vrt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<VRTDataset rasterXSize="95" rasterYSize="428"> | ||
<GeoTransform> -1.7500000000000000e+00, 4.5000000000000000e+00, 0.0000000000000000e+00,-1.75, 0.0000000000000000e+00,4.5 </GeoTransform> | ||
<Metadata> | ||
<MDI key="GEOREFERENCING_CONVENTION">TOP_LEFT_CORNER</MDI> | ||
<MDI key="LINE_OFFSET">-1.75</MDI> | ||
<MDI key="LINE_STEP">4.5</MDI> | ||
<MDI key="PIXEL_OFFSET">-1.75</MDI> | ||
<MDI key="PIXEL_STEP">4.5</MDI> | ||
<MDI key="SRS">EPSG:4326</MDI> | ||
<MDI key="X_BAND">1</MDI> | ||
<MDI key="Y_BAND">2</MDI> | ||
</Metadata> | ||
<VRTRasterBand dataType="Float64" band="1"> | ||
</VRTRasterBand> | ||
<VRTRasterBand dataType="Float64" band="2"> | ||
</VRTRasterBand> | ||
</VRTDataset> |
34 changes: 34 additions & 0 deletions
34
...RD_MSIL1B.SAFE/DATASTRIP/S2B_OPER_MSI_L1B_DATASTRIP_N01.03/S2B_OPER_MTD_L1B_DATASTRIP.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||
<n1:Level-1B_DataStrip_ID xmlns:n1="https://psd-15.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1B_Datastrip_Metadata.xsd" datastripIdentifier="S2B_OPER_MSI_L1B_DS_2BPS_20241019T153411_S20241019T120215_N05.11" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://psd-15.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1B_Datastrip_Metadata.xsd /dpc/app/s2ipf/FORMAT_METADATA_DS_L1B/06.03.00/scripts/../../../schemas/15.00.00/PSD/S2_PDI_Level-1B_Datastrip_Metadata.xsd"> | ||
|
||
<n1:General_Info> <!-- removed --> | ||
</n1:General_Info> | ||
|
||
<n1:Image_Data_Info> | ||
<Granules_Information metadataLevel="Standard"> | ||
<Detector_List> | ||
<Detector detectorId="01"> | ||
<Granule_List> | ||
<Granule granuleId="S2B_OPER_MSI_L1B_1_N01.03"> | ||
<POSITION>1</POSITION> | ||
</Granule> | ||
<Granule granuleId="S2B_OPER_MSI_L1B_1_N01.03"> | ||
<POSITION>2305</POSITION> | ||
</Granule> | ||
<Granule granuleId="S2B_OPER_MSI_L1B_1_N01.03"> | ||
<POSITION>4609</POSITION> | ||
</Granule> | ||
<Granule granuleId="S2B_OPER_MSI_L1B_1_N01.03"> | ||
<POSITION>6913</POSITION> | ||
</Granule> | ||
<Granule granuleId="S2B_OPER_MSI_L1B_1_N01.03"> | ||
<POSITION>9217</POSITION> | ||
</Granule> | ||
</Granule_List> | ||
</Detector> | ||
</Detector_List> | ||
</Granules_Information> | ||
<!-- lots of stuff removed --> | ||
</n1:Image_Data_Info> | ||
<!-- lots of stuff removed --> | ||
</n1:Level-1B_DataStrip_ID> |
Binary file added
BIN
+190 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B01.jp2
Binary file not shown.
Binary file added
BIN
+878 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B02.jp2
Binary file not shown.
Binary file added
BIN
+878 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B03.jp2
Binary file not shown.
Binary file added
BIN
+878 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B04.jp2
Binary file not shown.
Binary file added
BIN
+358 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B05.jp2
Binary file not shown.
Binary file added
BIN
+358 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B06.jp2
Binary file not shown.
Binary file added
BIN
+358 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B07.jp2
Binary file not shown.
Binary file added
BIN
+878 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B08.jp2
Binary file not shown.
Binary file added
BIN
+190 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B09.jp2
Binary file not shown.
Binary file added
BIN
+190 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B10.jp2
Binary file not shown.
Binary file added
BIN
+358 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B11.jp2
Binary file not shown.
Binary file added
BIN
+358 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B12.jp2
Binary file not shown.
Binary file added
BIN
+878 Bytes
...PER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/IMG_DATA/S2B_OPER_MSI_L1B_1_B8A.jp2
Binary file not shown.
68 changes: 68 additions & 0 deletions
68
..._geoloc/S2B_OPER_PRD_MSIL1B.SAFE/GRANULE/S2B_OPER_MSI_L1B_1_N01.03/S2B_OPER_MTD_L1B_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||
<n1:Level-1B_Granule_ID xmlns:n1="https://psd-13.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1B_Granule_Metadata.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://psd-12.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1B_Granule_Metadata.xsd /dpc/app/s2ipf/FORMAT_METADATA_GR_L1B/02.09.06/scripts/../../../schemas/02.11.07/PSD/S2_PDI_Level-1B_Granule_Metadata.xsd"> | ||
|
||
<n1:General_Info> | ||
<GRANULE_ID metadataLevel="Brief">S2B_OPER_MSI_L1B_GR_MTI__20151231T235959_S20151231T235959_D02_N01.03</GRANULE_ID> | ||
<DETECTOR_ID metadataLevel="Brief">02</DETECTOR_ID> | ||
<DATASTRIP_ID metadataLevel="Brief">S2B_OPER_MSI_L1B_DS_MTI__20151231T235959_S20151231T235959_N01.03</DATASTRIP_ID> | ||
<DOWNLINK_PRIORITY metadataLevel="Standard">NOMINAL</DOWNLINK_PRIORITY> | ||
<SENSING_TIME metadataLevel="Standard">2015-12-31T23:59:59.999Z</SENSING_TIME> | ||
<Archiving_Info metadataLevel="Expertise"> | ||
<ARCHIVING_CENTRE>MTI_</ARCHIVING_CENTRE> | ||
<ARCHIVING_TIME>2015-12-31T23:59:59.999Z</ARCHIVING_TIME> | ||
</Archiving_Info> | ||
</n1:General_Info> | ||
|
||
<n1:Geometric_Info> | ||
<Granule_Footprint metadataLevel="Brief"> | ||
<Granule_Footprint> | ||
<Footprint> | ||
<EXT_POS_LIST>46 11 1 45 11 2 45 13 3 46 13 4 46 11 1</EXT_POS_LIST> | ||
</Footprint> | ||
</Granule_Footprint> | ||
<RASTER_CS_TYPE>POINT</RASTER_CS_TYPE> | ||
<PIXEL_ORIGIN>1</PIXEL_ORIGIN> | ||
</Granule_Footprint> | ||
<Granule_Position metadataLevel="Standard"> | ||
<POSITION>1</POSITION> | ||
<Geometric_Header> | ||
<GROUND_CENTER>45.5 12 2.5</GROUND_CENTER> | ||
<QL_CENTER>0 0</QL_CENTER> | ||
<Incidence_Angles> | ||
<ZENITH_ANGLE unit="deg">8</ZENITH_ANGLE> | ||
<AZIMUTH_ANGLE unit="deg">96</AZIMUTH_ANGLE> | ||
</Incidence_Angles> | ||
<Solar_Angles> | ||
<ZENITH_ANGLE unit="deg">43</ZENITH_ANGLE> | ||
<AZIMUTH_ANGLE unit="deg">158</AZIMUTH_ANGLE> | ||
</Solar_Angles> | ||
</Geometric_Header> | ||
</Granule_Position> | ||
<Granule_Dimensions metadataLevel="Standard"> | ||
<Size resolution="10"> | ||
<NROWS>2304</NROWS> | ||
<NCOLS>2552</NCOLS> | ||
</Size> | ||
<Size resolution="20"> | ||
<NROWS>1152</NROWS> | ||
<NCOLS>1276</NCOLS> | ||
</Size> | ||
<Size resolution="60"> | ||
<NROWS>384</NROWS> | ||
<NCOLS>1276</NCOLS> | ||
</Size> | ||
</Granule_Dimensions> | ||
|
||
</n1:Geometric_Info> | ||
|
||
<n1:Quality_Indicators_Info metadataLevel="Standard"> | ||
<Image_Content_QI> | ||
<CLOUDY_PIXEL_PERCENTAGE>0</CLOUDY_PIXEL_PERCENTAGE> | ||
<DEGRADED_MSI_DATA_PERCENTAGE>0</DEGRADED_MSI_DATA_PERCENTAGE> | ||
</Image_Content_QI> | ||
<Pixel_Level_QI geometry="FULL_RESOLUTION"> | ||
<MASK_FILENAME bandId="0" detectorId="02" type="MSK_CLOLOW">S2B_OPER_MSK_CLOLOW_MTI__20151231T235959_S20151231T235959_D02_B01_MSIL1B.gml</MASK_FILENAME> | ||
</Pixel_Level_QI> | ||
</n1:Quality_Indicators_Info> | ||
|
||
</n1:Level-1B_Granule_ID> |
1 change: 1 addition & 0 deletions
1
autotest/gdrivers/data/sentinel2/fake_l1b_geoloc/S2B_OPER_PRD_MSIL1B.SAFE/README_GDAL.TXT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Really a fake product, only for GDAL testing purposes of the L1B_MODE=DATASTRIP mode for datasets with geolocation arrays. |
Oops, something went wrong.