powered by
terra
SpatRaster
Returns 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 satres as_SpatRaster(sr, res = NULL)
# S3 method for satres as_SpatRaster(sr, res = NULL)
A vector of strings.
A satres object.
satres
A string, spatial resolution.
sat_untarzip
Other satellite exportation: save_by_resolution()
save_by_resolution()
esa <- system.file("extdata", "esa", package = "satres") sr <- satres(dir = esa) r <- sr |> as_SpatRaster("r1000m")
Run the code above in your browser using DataLab