h_avday {htsr} | R Documentation |
Daily average over a sequence of several years
Description
Daily average over a sequence of several years
Usage
h_avday(file, start = NA, end = NA, mhy = 1, precip = FALSE, dig = 1)
Arguments
file |
File name to proceed |
start |
Starting date (default = NA) |
end |
Ending date (default = NA) |
mhy |
Starting month of the hydrological year (default = 1) |
precip |
Precipitation time series (default = FALSE) |
dig |
Number of significant digits for Value (default = 1) |
Details
The function means the values of each calendar day over a period larger than 4 years (i.e. it includes at least one Feb 29 day). The result is transfered to the last possible hydrological year of the interval.
In the special case of precipitation, where the distribution is discontinuous over time, the original values of the last hydrological year are replaced by values corrected proportionately.
Author(s)
P. Chevallier - Nov 2022
Examples
## Not run:
f <- h_avday(f, start=NA, end=NA, mhy=10, precip=TRUE, dig=1)
## End(Not run)
[Package htsr version 2.1.5 Index]