-
Notifications
You must be signed in to change notification settings - Fork 94
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
Croping a stars object takes 16.89 hours while terra takes 0.16 seconds #694
Comments
Did you try cutting to the bounding box? Then it should work fast. See also this issue. st_crop <- st_crop(st_mosaic, st_bbox(sf_florida)) |
Yes! It is taking 0.12 secs (faster than 0.17 with terra) Thank you! |
In my initial code, I was comparing two different types of crops. So the time comparison was not valid. If we compare the crop to the bounding box, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Croping a
stars
object takes 16.89 hours whileterra
takes 0.16 seconds. I just installedsf
andstars
from GitHub.plot(r_crop)
Created on 2024-07-04 with reprex v2.1.0
Session info
The text was updated successfully, but these errors were encountered: