Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentinel-2: filtering on quality flags #321

Open
jdries opened this issue Sep 17, 2024 · 2 comments
Open

Sentinel-2: filtering on quality flags #321

jdries opened this issue Sep 17, 2024 · 2 comments
Assignees

Comments

@jdries
Copy link
Contributor

jdries commented Sep 17, 2024

Sentinel-2 products have an xml file, MTD_MSIL2A.xml, that contains some quality flags:

FORMAT_CORRECTNESS (PASSED/FAILED)
GENERAL_QUALITY (PASSED/FAILED)
GEOMETRIC_QUALITY (PASSED/FAILED)
L2A_QUALITY (PASSED/FAILED)
RADIOMETRIC_QUALITY (PASSED/FAILED)
SENSOR_QUALITY (PASSED/FAILED)

We should add a property for each flag separately, so users have fine grained control.

Example XML:

<Quality_Control_Checks>
<Quality_Inspections>
<quality_check checkType="FORMAT_CORRECTNESS">PASSED</quality_check>
<quality_check checkType="GENERAL_QUALITY">PASSED</quality_check>
<quality_check checkType="GEOMETRIC_QUALITY">PASSED</quality_check>
<quality_check checkType="L2A_QUALITY">PASSED</quality_check>
<quality_check checkType="RADIOMETRIC_QUALITY">PASSED</quality_check>
<quality_check checkType="SENSOR_QUALITY">PASSED</quality_check>
</Quality_Inspections>
<Failed_Inspections/>
</Quality_Control_Checks>
@JorisCod
Copy link

Quality flags show to be not useful, so closing this. The only useful property to possibly filter on is the Solar Zenith/Elevation Angle, which is in the STAC Collection.

@JorisCod
Copy link

This can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants