Plot Seascape as an interactive stacked and filled time series plot.
plot_ss_ts(tbl, colors = NULL, fillAlpha = 0.8, show_legend = "always")table in same format as output by sum_ss_grds_to_ts containing
columns: date (date), cellvalue (double), n_cells (double).
Character vector of colors for the data series. See
dygraphs::dyOptions(). The default (NULL) automatically generates colors
from the "Spectral" color ramp (see RColorBrewer::brewer.pal()).
When to display the legend. See dygraphs::dyLegend().
dygraph interactive plot
# prep input table of time series data
ply <- get_url_ply("mbnms")
ss_i <- get_ss_info("global_8day")
grds <- get_ss_grds(ss_i, ply, date_beg = "2020-09-01")
tbl <- sum_ss_grds_to_ts(grds)
plot_ss_ts(tbl)