read raster/array dataset from file or connection
# S3 method for sf st_stars(.x, ..., times = colnames(data[[1]]))st_stars(.x, ...)# S3 method for character st_stars(.x, ..., options = character(0), driver = character(0), sub = TRUE, quiet = FALSE)# S3 method for list st_stars(.x, ..., dimensions = NULL)# S3 method for default st_stars(.x, ...)
st_stars(.x, ...)
# S3 method for character st_stars(.x, ..., options = character(0), driver = character(0), sub = TRUE, quiet = FALSE)
# S3 method for list st_stars(.x, ..., dimensions = NULL)
# S3 method for default st_stars(.x, ...)
if character, name of file(s) to read; if list: list with arrays
arrays to be compiled into a stars object
time instances
character; opening options
character; driver to use for opening file
integer or logical; sub-datasets to be read
logical; print progress output?
object of class dimensions
object of class stars
stars
# NOT RUN { tif = system.file("tif/L7_ETMs.tif", package = "stars") x = st_stars(tif) # x1 = st_stars(nv, options = "OVERVIEW_LEVEL=1") # }
Run the code above in your browser using DataCamp Workspace