View source: R/dbpf_trumpet_curve.R
dbpf_trumpet_curve | R Documentation |
Plots a trumpet curve for one location
dbpf_trumpet_curve(
con,
borehole_name,
gst_names = "",
air_names = "",
time_b = "2015-09-01 00:00:00+00",
time_e = "2016-08-31 23:59:59+00"
)
con |
Database connection object, as returned by |
borehole_name |
Character string of the location to be plotted. |
gst_names |
Unit of measurments, defaults to "C" |
air_names |
Period over wich to aggregate time series [h], defaults to no aggregation (period = 'raw'). |
time_b |
Begin time for the interval to be analysed. Use the format "2015-09-01 00:00:00+00" (this example is the default) |
time_e |
End time for the interval to be analysed. Use the format "2016-08-31 23:59:59+00" (this example is the default) |
Plots a trumpet curve for one location and optionally includes near surface temperature and air temperature in this.
Stephan Gruber <stephan.gruber@carleton.ca>
## Not run:
con <- dbpf_con()
dbpf_trumpet_curve(con, "NGO-DD-1009") # get all GST automatically
# specify interval explicitly
dbpf_trumpet_curve(con, "NGO-DD-1009", time_b = "2015-09-01 00:00:00+00",
time_e = "2016-08-31 23:59:59+00")
# specify only one GST series for use, excluding the others
dbpf_trumpet_curve(con, "NGO-DD-1009", gst_names="NGO-DD-1009_ST01")
# use air temperature
dbpf_trumpet_curve(con, "NGO-DD-1009", air_names=c("AIRT1LOW", "AIRT1TOP"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.