You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you provide a spatRaster for ref, it creates an error if you do not give a scaler value for res because line 33 checks: if (terra::res(ref)[1] != res) ... where res <- terra::res(ref) from line 14. Because res is a 2-vector, the logical check throws an error.
The text was updated successfully, but these errors were encountered:
If you provide a spatRaster for ref, it creates an error if you do not give a scaler value for res because line 33 checks:
if (terra::res(ref)[1] != res)
... whereres <- terra::res(ref)
from line 14. Becauseres
is a 2-vector, the logical check throws an error.The text was updated successfully, but these errors were encountered: