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

determination of border pixels #231

Open
johntruckenbrodt opened this issue Dec 9, 2024 · 0 comments
Open

determination of border pixels #231

johntruckenbrodt opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@johntruckenbrodt
Copy link
Member

In the function s1ard.metadata.extract.get_prod_meta a metadata attribute nodata_borderpx is determined by rasterizing the combined footprint of the source scenes, subsetting it to the extent of the ARD product, and counting the number of nodata pixels.
This is inaccurate and more effort than necessary. Instead, the valid data mask created by function s1ard.ancillary.datamask should be used to get the exact valid data footprint of the processed product.

This metadata attribute will be written to the STAC metadata as card4l:border_pixels.

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

No branches or pull requests

1 participant