save_by_resolution | R Documentation |
Saves multi-band raster files of the object according to its spatial resolution. The file names correspond to the resolution of each one.
save_by_resolution(sr, out_dir, only_show_files)
## S3 method for class 'satres'
save_by_resolution(sr, out_dir = NULL, only_show_files = FALSE)
sr |
A |
out_dir |
A string, output folder. |
only_show_files |
A boolean, only show the files that would be created, not create them. |
They are stored in the folder that is indicated or, if none is indicated, in the folder that was used to create the object.
A vector of strings, name of the saved files.
sat_untarzip
Other satellite exportation:
as_SpatRaster()
esa <- system.file("extdata", "esa", package = "satres")
sr <- satres(dir = esa)
f <- sr |>
save_by_resolution(only_show_files = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.