-
Notifications
You must be signed in to change notification settings - Fork 4
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
Best way to use SpatRaster tiles? #69
Comments
ah ok, I've gotten this to work by using |
I like the idea of dedicated functions for working with tiling. Over the weekend I tried a targets wrapper around terra::vrt() which can help with managing the tiles, I could definitely see something like that, which facilitates working with dynamically branched spatraster targets |
Update: |
I'm working with a large SpatRaster and running out of memory trying to do pixel-wise computations on the whole thing, so I'm thinking the best thing to do is to split it into tiles with
makeTiles()
, then (ideally) work on each tile with dynamic branching and re-combine the results. I'm having trouble getting this to work though, and not sure what pieces of this should be handled bygeotargets
. Here's what I've got so far:Created on 2024-05-14 with reprex v2.1.0
I'm not sure how to make
rast_tiles
also be a pattern here.This is somewhat related to #53
The text was updated successfully, but these errors were encountered: