h_rbind {htsr}R Documentation

Bind 2 time-series on consecutive periods

Description

The fonction binds the data of 2 hts time-series for consecutive date/time records (precision of the second) of the same station.

Usage

h_rbind(files, sensor = "NewS", gap = TRUE)

Arguments

files

List of char, File names to process.

sensor

New sensor name of the resulting hts file (default ="NewS")

gap

Introduce or not a gap between both series (default = TRUE)

Details

In the list, the files must be ordered from the oldest to the newest. If gap is TRUE, a gap is introduced between both series.

Value

hts file resulting of the operation; its names are composed as: <sensor>_<station>.hts, with the prefix na, if a gap has been introduced.

Author(s)

P. Chevallier - Mar-Nov 2020

Examples

## Not run: 

f <- h_bind(files = c("foo1.hts","foo2.hts"), sensor = "NewOne")

## End(Not run)


[Package htsr version 2.1.4 Index]