Skip to content

First version of tile based job splitter #756

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

Closed
wants to merge 9 commits into from

Conversation

VincentVerelst
Copy link
Collaborator

@VincentVerelst VincentVerelst commented Apr 2, 2025

A first version of a split_area function based on a SizeBasedTileGrid class.

  • Accepts dict and shapely.geometry.Polygon objects
  • Resulting split tiles never exceed the bounds of the original AOI
  • Tile size can be specified in km or degree
  • For a more detailed explanation of how it behaves: see unit tests

closes #745

@soxofaan, @jdries, besides the general review, I could use your help to advice on how to expose this to users and leave flexibility of adding more TileGridInterface classes in the future.

Copy link
Collaborator

@jdries jdries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logged some initial remarks on the API

Copy link
Member

@soxofaan soxofaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some quick notes

soxofaan added a commit that referenced this pull request Apr 29, 2025
and use more keyword arguments
@soxofaan
Copy link
Member

soxofaan commented Apr 29, 2025

as discussed offline: I made job_splitting a private submodule, moved a couple of review notes as TODO comments in the code, (rebased) and merged in ee18290

@soxofaan soxofaan closed this Apr 29, 2025
@soxofaan soxofaan deleted the issue745-tile-splitter branch April 29, 2025 19:54
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

Successfully merging this pull request may close these issues.

20km UTM tile splitter
3 participants