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

In rasterutils, add a parameter to choose between ceil/floor (round?) to scale_raster (to decide the number of rows/cols of the destination dataset) #8

Open
rbejar opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rbejar
Copy link
Contributor

rbejar commented Mar 13, 2024

To decide the number of rows and cols of the scaled raster: the difference is up to one more row/col if we use ceil. With ceil we have to "extrapolate a bit" on that extra row/col, with floor we don't have to extrapolate.

This is, I think, a very minor consideration. For now it always does ceil (that could be the default of this parameter when it is added).

@rbejar rbejar added enhancement New feature or request good first issue Good for newcomers labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant