Description Usage Arguments Author(s)
View source: R/dates2juliandays.R
This function converts a vector of days into a vector of Julian days, but in the format required for SWAT hydrological model, in the sense that each julian day goes only from 1 to 365/366, so, every year the origin for counting the julian day is set to the 31-Dec of the previous year, in a way that the 01-January takes 1 as its Julian day
1 | dates2juliandays(dates, verbose)
|
dates |
vector containing the dates that will be converted into Julian days in SWAT format |
verbose |
logical; if TRUE, progress messages are printed |
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.