-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the GENERAL_QUALITY metadata to see if we can exit early
- Loading branch information
Showing
5 changed files
with
257 additions
and
21 deletions.
There are no files selected for viewing
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
49 changes: 49 additions & 0 deletions
49
tests/data/quality-mask/L1C_T12QXM_A048143_20240909T175112/QI_DATA/GENERAL_QUALITY.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,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><Earth_Explorer_File xmlns="http://gs2.esa.int/DATA_STRUCTURE/olqcReport"> | ||
<Earth_Explorer_Header> | ||
<Fixed_Header> | ||
<File_Name>GRANULE/L1C_T12QXM_A048143_20240909T175112/QI_DATA/GENERAL_QUALITY.xml</File_Name> | ||
<File_Description>Report produced by OLQC-SC</File_Description> | ||
<Notes/> | ||
<Mission>S2A</Mission> | ||
<File_Class>OPER</File_Class> | ||
<File_Type>REP_OLQCPA</File_Type> | ||
<Validity_Period> | ||
<Validity_Start>UTC=2024-07-23T03:00:00</Validity_Start> | ||
<Validity_Stop>UTC=2100-01-01T00:00:00</Validity_Stop> | ||
</Validity_Period> | ||
<File_Version>2</File_Version> | ||
<Source> | ||
<System>OLQC-SC</System> | ||
<Creator>OLQC-SC</Creator> | ||
<Creator_Version>06.03.00</Creator_Version> | ||
<Creation_Date>UTC=2024-09-10T00:44:41</Creation_Date> | ||
</Source> | ||
</Fixed_Header> | ||
</Earth_Explorer_Header> | ||
<Data_Block type="xml"> | ||
<report date="2024-09-10T00:44:41.058Z" gippVersion="1.0" globalStatus="PASSED"> | ||
<checkList> | ||
<parentID>S2A_OPER_GIP_OLQCPA_MPC__20240717T000043_V20240723T030000</parentID> | ||
<name>GENERAL_QUALITY</name> | ||
<version>1.0</version> | ||
<item class="http://www.esa.int/s2#pdi_level_1c_tile_container" className="PDI Level 1C Tile Folder" name="S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11" url="/mnt/nfs-l1-03/l1-processing/processing-id-65140-2024-09-09-23-34-02/TaskTable_20240909T233403/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11/"/> | ||
<check> | ||
<inspection creation="2024-09-10T00:44:40.633Z" duration="357" execution="2024-09-10T00:44:40.672Z" id="Solar_Angle_Zenith" item="S2A_OPER_MTD_L1C_TL_2APS_20240909T231016_A048143_T12QXM.xml" itemURL="/mnt/nfs-l1-03/l1-processing/processing-id-65140-2024-09-09-23-34-02/TaskTable_20240909T233403/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11/S2A_OPER_MTD_L1C_TL_2APS_20240909T231016_A048143_T12QXM.xml" name="Check the zenith solar angle. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Zenith solar angle (26.6116855171579) is within the threshold limit (82.0) </message> | ||
<extraValues> | ||
<value name="EXPECTED">82.0</value> | ||
<value name="SOLAR_ZENITH_ANGLE">26.6116855171579</value> | ||
</extraValues> | ||
</check> | ||
<check> | ||
<inspection creation="2024-09-10T00:44:41.909Z" duration="16" execution="2024-09-10T00:44:41.914Z" id="checkMetadata" item="S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11" itemURL="/mnt/nfs-l1-03/l1-processing/processing-id-65140-2024-09-09-23-34-02/TaskTable_20240909T233403/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11/" name="Metadata file check. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Metadata file is present.</message> | ||
</check> | ||
<check> | ||
<inspection creation="2024-09-10T00:44:43.339Z" duration="11692" execution="2024-09-10T00:44:43.350Z" id="Data_Loss" item="S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11" itemURL="/mnt/nfs-l1-03/l1-processing/processing-id-65140-2024-09-09-23-34-02/TaskTable_20240909T233403/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_2APS_20240909T231016_A048143_T12QXM_N05.11/" name="Check TECQUA for data loss " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">No data loss in this tile.</message> | ||
</check> | ||
</checkList> | ||
</report> | ||
</Data_Block> | ||
</Earth_Explorer_File> |
52 changes: 52 additions & 0 deletions
52
tests/data/quality-mask/L1C_T43QDG_A031305_20230305T053523/QI_DATA/GENERAL_QUALITY.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,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><Earth_Explorer_File xmlns="http://gs2.esa.int/DATA_STRUCTURE/olqcReport"> | ||
<Earth_Explorer_Header> | ||
<Fixed_Header> | ||
<File_Name>GRANULE/L1C_T43QDG_A031305_20230305T053523/QI_DATA/GENERAL_QUALITY.xml</File_Name> | ||
<File_Description>Report produced by OLQC-SC</File_Description> | ||
<Notes/> | ||
<Mission>S2B</Mission> | ||
<File_Class>OPER</File_Class> | ||
<File_Type>REP_OLQCPA</File_Type> | ||
<Validity_Period> | ||
<Validity_Start>UTC=2022-08-30T00:25:00</Validity_Start> | ||
<Validity_Stop>UTC=2100-01-01T00:00:00</Validity_Stop> | ||
</Validity_Period> | ||
<File_Version>2</File_Version> | ||
<Source> | ||
<System>OLQC-SC</System> | ||
<Creator>OLQC-SC</Creator> | ||
<Creator_Version>06.01.00</Creator_Version> | ||
<Creation_Date>UTC=2023-03-05T08:36:44</Creation_Date> | ||
</Source> | ||
</Fixed_Header> | ||
</Earth_Explorer_Header> | ||
<Data_Block type="xml"> | ||
<report date="2023-03-05T08:36:44.399Z" gippVersion="1.0" globalStatus="FAILED"> | ||
<checkList> | ||
<parentID>S2B_OPER_GIP_OLQCPA_MPC__20220715T000042_V20220830T002500</parentID> | ||
<name>GENERAL_QUALITY</name> | ||
<version>1.0</version> | ||
<item class="http://www.esa.int/s2#pdi_level_1c_tile_container" className="PDI Level 1C Tile Folder" name="S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09" url="/mnt/local/l1ctile/work/3be743a1-28c3-4010-84c9-8ccca1586310/ipf_output_L1CTile_20230305082123/L1CTile/TaskTable_20230305T082127/FORMAT_METADATA_TILE_L1C/output/PDI_DS_TILE_LIST/S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09/"/> | ||
<check> | ||
<inspection creation="2023-03-05T08:36:44.100Z" duration="246" execution="2023-03-05T08:36:44.145Z" id="checkMetadata" item="S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09" itemURL="/mnt/local/l1ctile/work/3be743a1-28c3-4010-84c9-8ccca1586310/ipf_output_L1CTile_20230305082123/L1CTile/TaskTable_20230305T082127/FORMAT_METADATA_TILE_L1C/output/PDI_DS_TILE_LIST/S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09/" name="Metadata file check. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Metadata file is present.</message> | ||
</check> | ||
<check> | ||
<inspection creation="2023-03-05T08:36:45.387Z" duration="81" execution="2023-03-05T08:36:45.397Z" id="Solar_Angle_Zenith" item="S2B_OPER_MTD_L1C_TL_2BPS_20230305T072429_A031305_T43QDG.xml" itemURL="/mnt/local/l1ctile/work/3be743a1-28c3-4010-84c9-8ccca1586310/ipf_output_L1CTile_20230305082123/L1CTile/TaskTable_20230305T082127/FORMAT_METADATA_TILE_L1C/output/PDI_DS_TILE_LIST/S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09/S2B_OPER_MTD_L1C_TL_2BPS_20230305T072429_A031305_T43QDG.xml" name="Check the zenith solar angle. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Zenith solar angle (37.349671777297) is within the threshold limit (82.0) </message> | ||
<extraValues> | ||
<value name="EXPECTED">82.0</value> | ||
<value name="SOLAR_ZENITH_ANGLE">37.349671777297</value> | ||
</extraValues> | ||
</check> | ||
<check> | ||
<inspection creation="2023-03-05T08:36:45.870Z" duration="23651" execution="2023-03-05T08:36:45.877Z" id="Data_Loss" item="S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09" itemURL="/mnt/local/l1ctile/work/3be743a1-28c3-4010-84c9-8ccca1586310/ipf_output_L1CTile_20230305082123/L1CTile/TaskTable_20230305T082127/FORMAT_METADATA_TILE_L1C/output/PDI_DS_TILE_LIST/S2B_OPER_MSI_L1C_TL_2BPS_20230305T072429_A031305_T43QDG_N05.09/" name="Check TECQUA for data loss " priority="5" processingStatus="done" status="FAILED"/> | ||
<message contentType="text/plain">There is data loss in this tile</message> | ||
<extraValues> | ||
<value name="Affected_Bands">B01 B02 B03 B09 B10 B11 B12 B8A</value> | ||
</extraValues> | ||
</check> | ||
</checkList> | ||
</report> | ||
</Data_Block> | ||
</Earth_Explorer_File> |
52 changes: 52 additions & 0 deletions
52
tests/data/quality-mask/L1C_T45TXF_A038726_20221121T050115/QI_DATA/GENERAL_QUALITY.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,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><Earth_Explorer_File xmlns="http://gs2.esa.int/DATA_STRUCTURE/olqcReport"> | ||
<Earth_Explorer_Header> | ||
<Fixed_Header> | ||
<File_Name>GRANULE/L1C_T45TXF_A038726_20221121T050115/QI_DATA/GENERAL_QUALITY.xml</File_Name> | ||
<File_Description>Report produced by OLQC-SC</File_Description> | ||
<Notes/> | ||
<Mission>S2A</Mission> | ||
<File_Class>OPER</File_Class> | ||
<File_Type>REP_OLQCPA</File_Type> | ||
<Validity_Period> | ||
<Validity_Start>UTC=2022-08-30T00:25:00</Validity_Start> | ||
<Validity_Stop>UTC=2100-01-01T00:00:00</Validity_Stop> | ||
</Validity_Period> | ||
<File_Version>2</File_Version> | ||
<Source> | ||
<System>OLQC-SC</System> | ||
<Creator>OLQC-SC</Creator> | ||
<Creator_Version>05.01.00</Creator_Version> | ||
<Creation_Date>UTC=2022-11-21T07:37:39</Creation_Date> | ||
</Source> | ||
</Fixed_Header> | ||
</Earth_Explorer_Header> | ||
<Data_Block type="xml"> | ||
<report date="2022-11-21T07:37:39.124Z" gippVersion="1.0" globalStatus="FAILED"> | ||
<checkList> | ||
<parentID>S2A_OPER_GIP_OLQCPA_MPC__20220715T000042_V20220830T002500</parentID> | ||
<name>GENERAL_QUALITY</name> | ||
<version>1.0</version> | ||
<item class="http://www.esa.int/s2#pdi_level_1c_tile_container" className="PDI Level 1C Tile Folder" name="S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00" url="/mnt/nfs-l1-02/l1-processing/processing-id-17769-2022-11-21-06-03-12/TaskTable_20221121T060312/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00/"/> | ||
<check> | ||
<inspection creation="2022-11-21T07:37:38.889Z" duration="210" execution="2022-11-21T07:37:38.893Z" id="checkMetadata" item="S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00" itemURL="/mnt/nfs-l1-02/l1-processing/processing-id-17769-2022-11-21-06-03-12/TaskTable_20221121T060312/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00/" name="Metadata file check. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Metadata file is present.</message> | ||
</check> | ||
<check> | ||
<inspection creation="2022-11-21T07:37:41.147Z" duration="281" execution="2022-11-21T07:37:41.188Z" id="Solar_Angle_Zenith" item="S2A_OPER_MTD_L1C_TL_ATOS_20221121T053331_A038726_T45TXF.xml" itemURL="/mnt/nfs-l1-02/l1-processing/processing-id-17769-2022-11-21-06-03-12/TaskTable_20221121T060312/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00/S2A_OPER_MTD_L1C_TL_ATOS_20221121T053331_A038726_T45TXF.xml" name="Check the zenith solar angle. " priority="5" processingStatus="done" status="PASSED"/> | ||
<message contentType="text/plain">Zenith solar angle (61.7640691258715) is within the threshold limit (82.0) </message> | ||
<extraValues> | ||
<value name="EXPECTED">82.0</value> | ||
<value name="SOLAR_ZENITH_ANGLE">61.7640691258715</value> | ||
</extraValues> | ||
</check> | ||
<check> | ||
<inspection creation="2022-11-21T07:37:42.488Z" duration="11940" execution="2022-11-21T07:37:42.495Z" id="Data_Loss" item="S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00" itemURL="/mnt/nfs-l1-02/l1-processing/processing-id-17769-2022-11-21-06-03-12/TaskTable_20221121T060312/FORMAT_METADATA_TILE_L1C_ADAPT/output/PDI_DS_TILE_LIST/S2A_OPER_MSI_L1C_TL_ATOS_20221121T053331_A038726_T45TXF_N04.00/" name="Check TECQUA for data loss " priority="5" processingStatus="done" status="FAILED"/> | ||
<message contentType="text/plain">There is data loss in this tile</message> | ||
<extraValues> | ||
<value name="Affected_Bands">B01 B02 B03 B04 B05 B06 B07 B08 B09 B10 B11 B12 B8A</value> | ||
</extraValues> | ||
</check> | ||
</checkList> | ||
</report> | ||
</Data_Block> | ||
</Earth_Explorer_File> |
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