CalcWaterYear: Returns the water year or the day of water year for a given...

Description Usage Arguments Examples

Description

CalcWaterYear Returns the water year or the day of water year for a given POSIXct.

Usage

1

Arguments

POSIXct

is a POSIXct variable.

dayOf

signals if you want to get back the day of the water year instead of the water year.

Examples

1
2
CalcWaterYear(as.POSIXct(c("2011-09-30", "2011-10-01"), tz='US/Pacific'))
CalcWaterYear(as.POSIXct(c("2011-09-30", "2011-10-01"), tz='US/Pacific'), dayOf=TRUE)

NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.