Conversely, process_sapflow() doesn't do any filtering at all.
The dashboard graphs display the last X hours of data in the dataset, not (contrary to what the comment below says) from the current system time:
# TODO: back from present? Or back from latest timestamp in data?
GRAPH_TIME_WINDOW <- 3 * 24 # hours back from present
FLAG_TIME_WINDOW <- 1 # hours back from present
+ coord_cartesian(xlim = c(latest_ts - GRAPH_TIME_WINDOW * 60 * 60, latest_ts)) ->
The out-of-limits computation for the sapflow badge also uses last X hours from last timestamp, not present:
Currently before
process_teros()
returns data, it filters to the last five days:Conversely,
process_sapflow()
doesn't do any filtering at all.The dashboard graphs display the last X hours of data in the dataset, not (contrary to what the comment below says) from the current system time:
The out-of-limits computation for the sapflow badge also uses last X hours from last timestamp, not present:
So we have a fair amount of inconsistency. Flagging this for discussion.