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

Corrupt pixels at borders when performing polygon extractions #712

Open
GriffinBabe opened this issue Mar 7, 2024 · 0 comments
Open

Corrupt pixels at borders when performing polygon extractions #712

GriffinBabe opened this issue Mar 7, 2024 · 0 comments

Comments

@GriffinBabe
Copy link

I'm performing polygon extractions (filter_spatial + sample_by_feature=True) using a GeoJSON FeatureCollection in the process graph.

I buffered the geometries within the FeatureCollection to have a shape approximatively of 64x64 pixels when extracting S2 collections (640x640m). The output file has slightly larger dimensions (which seems reasonable as the input coordinates are expressed in lat/lon), but there are some borders with a -1.0 value, which seems like it is a corrupted value as it doesn't even correspond to the NoData value of the output netcdf file

306571951-f1bc214f-93a0-42a5-bb17-0ec551bf4c2e

On example can be found with the job ID in the CDSE production environment: j-240223d1ff724586be9c05148383dbdc

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

1 participant