BasicPlot: Read multiply SHUD model output files and do time-series plot

View source: R/readout.R

BasicPlotR Documentation

Read multiply SHUD model output files and do time-series plot

Description

Read multiply SHUD model output files and do time-series plot

Usage

BasicPlot(
  varname = c(paste0("eley", c("surf", "unsat", "gw", "snow")), paste0("elev", c("prcp",
    "infil", "rech")), paste0("elev", c("etp", "eta", "etev", "ettr", "etic")),
    paste0("rivq", c("down", "sub", "surf")), paste0("rivy", "stage")),
  xl = NULL,
  sp.riv = NULL,
  rdsfile = NULL,
  plot = TRUE,
  imap = FALSE,
  w.focal = matrix(1/9, 3, 3),
  path = file.path(get("anapath", envir = .shud), "BasicPlot")
)

Arguments

varname

vector of output keywords

xl

list of data returned from loaddata()

sp.riv

River SpatialLine*

rdsfile

Save RDS file

plot

Whether do the time-series plot

imap

Whether do the raster plot for Element data. Only works for element data

w.focal

forcal matrix

return

Whether return the data. Some the results are too huge to load in memoery at once.

iRDS

Whether save RDS file.

Value

A list of TimeSeries data.


SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.