Description Usage Arguments Details Value See Also Examples
Water temperature average for within block
1 | temp_calc(data.sen, window.idx, freq = 32)
|
data.sen |
a data.frame created with load.ADV, with the window.idx column |
window.idx |
window.idx column from adv data.frame. |
freq |
the frequency (Hz) of the measurements |
a GDopp
function for averaging water temperature measurements from ADV sensor (1Hz).
assumes one second spin-up for high-frequency measurement, and a likely incomplete final second for high frequency.
a vector of averaged values
time_calc, load_adv, load_sen
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
folder.nm <- system.file('extdata', package = 'GDopp')
file.nm <- "ALQ102.dat"
data.adv <- load_adv(file.nm=file.nm, folder.nm =folder.nm)
window.adv <- window_adv(data.adv,freq=32,window.mins=10)
data.sen <- load_sen(file.nm="ALQ102.sen", folder.nm = folder.nm)
temps <- temp_calc(data.sen,window.adv$window.idx,freq=32)
time <- time_calc(data.sen,window.adv$window.idx,freq=32)
plot(time,temps)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.