e2ep_plot_edrivers {StrathE2EPolar}R Documentation

Plot climatological year of environmental driving data.

Description

Multi-panel time series plots of climatological annual cycles of driving data as provided in the input csv files.

Usage

e2ep_plot_edrivers(model, selection = "INTERNAL")

Arguments

model

R-list object defining the model configuration compiled by the e2ep_read() function.

selection

Text string from a list identifying whether internal or boundary driving data are to be plotted. Select from: "INTERNAL", "BOUNDARY", default = "INTERNAL". Remember to include the phrase within "" quotes.

Details

The function plots a multi-panel page of time series plots of monthly values of the environmental driving data for the model.

Units for the plotted variables are as follows:

Internal drivers (i.e. properties applied within the model domain)

Boundary drivers (i.e. properties applied at the boundaries of the model domain)

Value

Graphical display in a new graphics window. Does not return any data object since the data plotted are all available as input csv files.

See Also

e2ep_read, e2ep_run, e2ep_plot_fdrivers

Examples

# Load the 2011-2019 version of the Barents Sea model supplied with the package:
    model <- e2ep_read("Barents_Sea", "2011-2019")
# Plot the annual cyles of internal driving data
    e2ep_plot_edrivers(model,selection="INTERNAL")
# Plot the annual cyles of boundary driving data
    e2ep_plot_edrivers(model,selection="BOUNDARY")

# Direct the graphics output to a pdf file ... 
# or jpeg("plot.jpg"), png("plot.png")
    pdf(file.path(tempdir(), "plot.pdf"),width=8,height=6)
    e2ep_plot_edrivers(model)
    dev.off()


[Package StrathE2EPolar version 2.0.0 Index]