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

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Read a raster time series object from a file.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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 Oct. 17, 2021, 1:07 a.m.

Related to read.rts in rts...