MazamaScience / AirFireModeling

Utilities to ease merging of USFS AirFire model output and monitoring data.
0 stars 0 forks source link

multi-model forecast capability #2

Closed jonathancallahan closed 4 years ago

jonathancallahan commented 4 years ago

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:

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