Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

waterDayYear

Compute Water Day and Year


Description

Compute "water" day and year, based on the end of the typical or legal dry season. This is September 30 in California.

Usage

waterDayYear(d, end = "09-30")

Arguments

d

anything the can be safely converted to PPOSIXlt

end

"MM-DD" notation for end of water year

Details

This function doesn't know about leap-years. Probably worth checking.

Value

A data.frame object with the following

wy

the "water year"

wd

the "water day"

Author(s)

D.E. Beaudette

References

Examples

# try it
waterDayYear('2019-01-01')

soilDB

Soil Database Interface

v2.6.1
GPL (>= 3)
Authors
Dylan Beaudette [aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut, cre]
Initial release
2021-04-7

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.