Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nplatonov/ursa
Browse files Browse the repository at this point in the history
# Conflicts:
#	R/ursa_as.R
  • Loading branch information
nplatonov committed Sep 22, 2023
2 parents 62cdd15 + 8aab93c commit c782a9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/ursa_as.R
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,19 @@
##~ str(a1[[1]]$finalize())
##~ q()
}
<<<<<<< HEAD
# bbox <- obj@ptr$extent$vector[c(1,3,2,4)]
# res <- obj@ptr$res
# crs <- obj@ptr$get_crs("proj4")
# aname <- obj@ptr$names
bbox <- as.vector(obj)[c(1,3,2,4)]
res <- terra::res(obj)
crs <- terra::crs(obj,proj=TRUE)
=======
bbox <- as.vector(obj)[c(1,3,2,4)]
res <- terra::res(obj)
crs <- terra::crs(obj, proj=TRUE)
>>>>>>> 8aab93c1119e1e625f7a131296d97e4f9d215a69
aname <- terra::names(obj)
g1 <- regrid(bbox=bbox,res=res,crs=crs)
if (identical(bbox,c(0,0,1,1)))
Expand Down

0 comments on commit c782a9b

Please sign in to comment.