Daily average over a sequence of several years
h_avday(file, start = NA, end = NA, mhy = 1, precip = FALSE, dig = 1)
File name to proceed
Starting date (default = NA)
Ending date (default = NA)
Starting month of the hydrological year (default = 1)
Precipitation time series (default = FALSE)
Number of significant digits for Value (default = 1)
P. Chevallier - Nov 2022
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.
if (FALSE) {
f <- h_avday(f, start=NA, end=NA, mhy=10, precip=TRUE, dig=1)
}
Run the code above in your browser using DataLab