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

Exact weight calculation for fractional mask. #2

Open
perrette opened this issue Nov 27, 2023 · 0 comments
Open

Exact weight calculation for fractional mask. #2

perrette opened this issue Nov 27, 2023 · 0 comments

Comments

@perrette
Copy link
Collaborator

The current code rasterizes a grid cell (down to 100 x 100 subdivisions) to calculate the weights.
Jan Volkholz and Christof Schoetz pointed to me that a tool exists that calculates exact weights based on theoretical calculations: exactextract. It also has an R implementation, and I see python bindings are in the works (at present I'd rather call the executable directly from subprocess). Consider using this after updating the vector data (#1).

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