For each monitor in monitorIDs, an attempt is made to merge the associated data from ws_monitor1 and ws_monitor2 and.

This is useful when the same monitorID appears in different ws_monitor objects representing different time periods. The returned ws_monitor object will cover both time periods.

monitor_join(ws_monitor1 = NULL, ws_monitor2 = NULL, monitorIDs = NULL)

Arguments

ws_monitor1

ws_monitor object

ws_monitor2

ws_monitor object

monitorIDs

vector of shared monitorIDs that are to be joined together. Defaults to all shared monitorIDs.

Value

A ws_monitor object with merged timeseries.

Examples

if (FALSE) { Jul <- monitor_subset(Northwest_Megafires, tlim=c(2015070100,2015073123), timezone='America/Los_Angeles') Aug <- monitor_subset(Northwest_Megafires, tlim=c(2015080100,2015083123), timezone='America/Los_Angeles') Methow_Valley <- monitor_join(Jul, Aug, monitorIDs=c('530470010_01','530470009_01')) }