as_SpatRaster | R Documentation |
terra
SpatRaster
classReturns the multi-band raster of the indicated spatial resolution as an object
of class SpatRaster
from package terra
as_SpatRaster(sr, res)
## S3 method for class 'satres'
as_SpatRaster(sr, res = NULL)
sr |
A |
res |
A string, spatial resolution. |
A vector of strings.
sat_untarzip
Other satellite exportation:
save_by_resolution()
esa <- system.file("extdata", "esa", package = "satres")
sr <- satres(dir = esa)
r <- sr |>
as_SpatRaster("r1000m")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.