Skip to contents

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

Examples

# Load the 2003-2013 version of the North Sea model supplied with the package:
    model <- e2e_read("North_Sea", "2003-2013")
#> Current working directory is... 
#> 'C:/Users/jackl/OneDrive - University of Strathclyde/Documents/Research/Packages/StrathE2E/strathe2e2/docs/reference'
#> No 'results.path' specified so any csv data requested
#> will be directed to/from the temporary directory...
#> 'C:\Users\jackl\AppData\Local\Temp\RtmpYdRhoX'
#> 
#> Model setup and parameters gathered from ...
#> StrathE2E2 package folder
#> Model results will be directed to/from ...
#> 'C:\Users\jackl\AppData\Local\Temp\RtmpYdRhoX/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()
#> agg_png 
#>       2