diag_hisafe_voxels: Plot timeseries diagnostics of Hi-sAFe voxels output

Description Usage Arguments Value See Also Examples

View source: R/diagnostics.R

Description

Plots a dail timeseries of every Hi-sAFe output variable in the voxels output profile. All plots are saved as png files to a specifified output path.

Usage

1
diag_hisafe_voxels(hop, output.path = NULL, ...)

Arguments

hop

An object of class "hop" or "face" containing output data from one or more Hi-sAFe simulations.

output.path

A character stting indicating the path to the directory where plots should be saved. Plots are saved in a subdirectory within this directory named by profile. If no value is provided, the experiment/simulation path is read from the hop object, and a directory is created there called "analysis/diagnostics".

...

Other arguments passed to plot_hisafe_voxels.

Value

Invisibly returns a list of ggplot objects. If hop contains data from more than one Hi-sAFe simulation, the plots will by faceted by SimulationName.

See Also

Other hisafe diagnostic fucntions: diag_hisafe_annualcells(), diag_hisafe_cells(), diag_hisafe_monthcells(), diag_hisafe_ts()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# After reading in Hi-sAFe simulation data via:
mydata <- read_hisafe(path = "mydir", simu.names = "MySimulation")

# You can create an annual timeseries of every variable:
diag_hisafe_ts(mydata)

# For daily timeseries instead:
diag_hisafe_ts(mydata, "daily")

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.