read.rts: Read raster time Series data from a file

read.rtsR Documentation

Read raster time Series data from a file

Description

Read a raster time series object from a file.

Usage

read.rts(filename,...)

Arguments

filename

Filename (character)

...

see details

Details

This function reads a raster time series object which has been writen by write.rts. Instead of read.rts, the rts function can be used (usage: rts(filename)).

By default, the Raster Time Series is read as the class of SpatRasterTS, but the user can provide cls argument to specify a different rts class (e.g., cls='RasterBrickTS')

Value

RasterBrickTS

Author(s)

Babak Naimi

naimi.b@gmail.com

http://r-gis.net

See Also

write.rts, rts

Examples

## Not run: 
file <- system.file("external/ndvi", package="rts")

rt <- read.rts(file)

rt

# or alternatively:
rt <- rts(file)

## End(Not run)


rts documentation built on Sept. 17, 2022, 1:06 a.m.

Related to read.rts in rts...