Description Usage Arguments Details Value Author(s) Examples
View source: R/canning_surfer.R
canning_surfR
takes a file path to Canning River sonde output and creates
a four panel (single column) surfer plot of salinity, dissolved oxygen,
chlorophyll a, and temperature in pdf format. The function creates a
directory called ‘plots/' in the file path to store the pdf’s. Code expects
only 2 excel workbooks for one monitoring run. Note sonde data from EXO
models reads depth from the VPos metric. All other sonde models use a
variant of a depth metric.
1 | canning_surfR(path, obac, onic)
|
path |
Character string filepath to location of sonde data xlsx workbooks. |
obac |
Character string ("green", "blue" or "red") indicating oxygenation plant status at site BAC. |
onic |
Character string ("green", "blue" or "red") indicating oxygenation plant status at site NIC. |
Surfer plots display a cross-section of the river where the metrics of interest have been interpolated between sonde locations. Thin plate spline has been used for the interpolation.
A river "bottom" is displayed which puts the interpolation in context. The river bottom has been derived from a combination of historical maximum depths at sampling locations as well as station points extracted from a "best" navigation line over the latest corporate bathymetry. See project documentation for further details.
A pdf format four panel surfer plot of the Canning River. Saved to a directory called 'plots/'.
Bart Huntley, bart.huntley@dbca.wa.gov.au
1 2 3 4 | ## Not run:
canning_surfR(path = "Z:/DEC/MonitoringProgram/Data", obac = "green", onic = "red")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.