stars (version 0.0)

st_stars: read raster/array dataset from file or connection

Description

read raster/array dataset from file or connection

Usage

# 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, ...)

Arguments

.x

if character, name of file(s) to read; if list: list with arrays

...

arrays to be compiled into a stars object

times

time instances

options

character; opening options

driver

character; driver to use for opening file

sub

integer or logical; sub-datasets to be read

quiet

logical; print progress output?

dimensions

object of class dimensions

Value

object of class stars

Examples

Run this code
# 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