plotuspar: Plot the understorey PAR points

Description Usage Arguments Details Value Author(s) Examples

Description

Reads the 'uspar.dat' file in the current working directory, and plots the incident or absorbed (or diffuse, or direct) PAR at the understorey points. Either produces a plot, or makes a pdf with a plot for each hour of the selected day.

Reads the point-wise output file when the understorey was simulated.

Usage

1
2
3
4
5
6
plotuspar(what = c("PARbeam", "PARtotal", "PARdiffuse", "APAR"),
  dataset = NULL, day = 1, hour = NA, xlim = NULL, ylim = NULL,
  makepdf = FALSE, outputfile = "aparunderstorey.pdf", scaleeach = TRUE,
  addNarrow = TRUE)

readuspar(filename = "uspar.dat")

Arguments

what

Either 'diff', 'apar', 'ipar', or 'beam' (the default).

dataset

If left alone, reads the uspar dataset.

day

Which day to use, if left alone uses the first day only.

hour

Which hour to plot. If left alone, makes a plot for each hour.

xlim,ylim

X- and Y-axis limits.

makepdf

Logical. If TRUE, produces a pdf in the working directory.

outputfile

Name of the pdf file.

scaleeach

Logical. Rescale grey scale for each plot, or same for all hours?

addNarrow

Logical. Add an arrow pointing North.

filename

The understorey file

Details

If addNarrow is TRUE, attempts to read the trees.dat file in the current working directory as well. Prints a warning when this file cannot be opened.

Value

A lattice device, or a pdf.

Author(s)

Remko Duursma

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# Plot one hour of the first day, showing incident PAR on understorey:
plotuspar("ipar", day=1,hour=12,makepdf=FALSE)

# Make pdf of the whole day, plotting beam radiation:
plotuspar("beam", day=1, outputfile="beam uspar")


## End(Not run)

Maeswrap documentation built on May 2, 2019, 7:58 a.m.