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

setting snap to out to crop rasters by default #212

Merged
merged 4 commits into from
Dec 6, 2023

Conversation

goergen95
Copy link
Member

@goergen95 goergen95 commented Nov 29, 2023

This PR sets snap="out" in the backend when raster resources are cropped to the extent of an asset. With this we ensure that the outer grid cells of an asset are returned.

@goergen95 goergen95 linked an issue Nov 29, 2023 that may be closed by this pull request
@goergen95 goergen95 self-assigned this Dec 1, 2023
@karpfen
Copy link
Collaborator

karpfen commented Dec 6, 2023

After our discussion, this seems like the best way to go, so no objections from my side!

@goergen95
Copy link
Member Author

Thanks! I'll adjust the tests so that CI passes, then.

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (640f93d) 74.60% compared to head (eb4fc7a) 74.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #212   +/-   ##
=======================================
  Coverage   74.60%   74.60%           
=======================================
  Files          43       43           
  Lines        1827     1827           
=======================================
  Hits         1363     1363           
  Misses        464      464           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@goergen95 goergen95 merged commit 58b696f into main Dec 6, 2023
10 checks passed
@goergen95 goergen95 deleted the 208-snap-out-read-rasters branch December 6, 2023 10:59
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.

Can't calculate ESA landcover for specific polygon
2 participants