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

split_job_s2grid fails when original GeoDataFrame already contains a tile column #175

Open
VincentVerelst opened this issue Nov 4, 2024 · 0 comments

Comments

@VincentVerelst
Copy link
Collaborator

The split_job_s2grid function uses the Geopandas sjoin_nearest method on the tile columns in the S2 grid. However, if the original reference data already contains a tile column, the sjoin_nearest method will generate a left_tile and right_tile column.

This will cause the groupby('tile)` method to fail: https://github.com/Open-EO/openeo-gfmap/blob/main/src/openeo_gfmap/manager/job_splitters.py#L95

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