This task is to assess what we have and create a series of tickets describing what needs to be done.
One of the requested capabilities is to create a "spaghetti" style plot showing, on a single plot:
existing monitoring data
aggregated past model runs
current model predictions
I have taken various stabs at this including the following example that works with the current code base:
local_examples/test-monitor-forecast.R
One can imagine a single function to generate the desired plot having a function signature something like:
TOP_LEVL <- function(
ws_monitor = NULL, # for a single monitor
# monitor = NULL, # only needed if we support multi-monitor ws_monitor object
starttime = NULL,
endtime = NULL,
modelNames = NULL
)
This function would have to extract the lat/lon from ws_monitor and then load, aggregate, subset and collapse each model into a time series before plotting.
I can imagine starting by writing an extended script to do all the necessary steps and, from this, learning what "lego brick" functions are needed to make it easier
This task is to assess what we have and create a series of tickets describing what needs to be done.
One of the requested capabilities is to create a "spaghetti" style plot showing, on a single plot:
I have taken various stabs at this including the following example that works with the current code base:
local_examples/test-monitor-forecast.R
One can imagine a single function to generate the desired plot having a function signature something like:
This function would have to extract the lat/lon from
ws_monitor
and then load, aggregate, subset and collapse each model into a time series before plotting.I can imagine starting by writing an extended script to do all the necessary steps and, from this, learning what "lego brick" functions are needed to make it easier