Learn R Programming

StrathE2E2 (version 3.3.0)

e2e_plot_edrivers: 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

e2e_plot_edrivers(model)

Arguments

model

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

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.

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:

  • Sea surface irradiance: uE/m2/d

  • Suspended particulate matter: g/m3

  • Temperature: deg-C

  • Vertical diffusivity gradient: m/d (derived from the vertical diffusivity (m2/s) and mixing length scale (m))

  • External inflows: m3 per m2 sea surface of model domain (derived from proportion input per layer volume, layer thicknesses and areas)

  • River discharge: m3 per m2 sea surface of model domain (derived from proportion input to inshore volume, and inshore layer thickness and area)

  • Inshore significant wave height: m

  • Proportion of seabed disturbed: /d (aggregated over the three sediment classes in each zone)

  • External boundary nitrate concentration: mMN/m3

  • External boundary ammonia concentration: mMN/m3

  • External boundary phytoplankton concentration: mMN/m3

  • External boundary detritus concentration: mMN/m3

  • River nitrate concentration: mMN/m3

  • River ammonia concentration: mMN/m3

  • Atmospheric nitrate deposition flux: mMN/m2/d

  • Atmospheric ammonia deposition flux: mMN/m2/d

See Also

e2e_read, e2e_run, e2e_plot_fdrivers

Examples

Run this code
# NOT RUN {
# Load the 2003-2013 version of the North Sea model supplied with the package:
    model <- e2e_read("North_Sea", "2003-2013")
# Plot the annual cyles of driving data
    e2e_plot_edrivers(model)

# 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)
    e2e_plot_edrivers(model)
    dev.off()

# }

Run the code above in your browser using DataLab