dates2juliandays: dates2juliandays

Description Usage Arguments Author(s)

View source: R/dates2juliandays.R

Description

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

Usage

1
dates2juliandays(dates, verbose)

Arguments

dates

vector containing the dates that will be converted into Julian days in SWAT format

verbose

logical; if TRUE, progress messages are printed

Author(s)

Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com


hzambran/SWAT2R documentation built on May 17, 2019, 10:07 p.m.