WATCHdailyArealPrecip: Calculates daily WATCH areal precipitation

View source: R/WATCHdailyArealPrecip.R

WATCHdailyArealPrecipR Documentation

Calculates daily WATCH areal precipitation

Description

Calculates daily WATCH areal precipitation

Usage

WATCHdailyArealPrecip(monthlyPrecip, timezone)

Arguments

monthlyPrecip

All WATCH precipitation for a month, as returned by WATCHgetWFDarealPrecip.

timezone

Required. The name of the timezone of the data as a character string. This should be the timezone of your data, but omitting daylight savings time. Note that the timezone code is specific to your OS. To avoid problems, you should use a timezone without daylight savings time. Under Linux, you can use CST and MST for Central Standard or Mountain Standard time, respectively. Under Windows or OSX, you can use etc/GMT+6 or etc/GMT+7 for Central Standard and Mountain Standard time. DO NOT use America/Regina as the time zone, as it includes historical changes between standard and daylight savings time.

Details

Calculates the daily total WATCH precipitation for all locations in a region.

Value

If successful, returns a data frame consisting if the date,longitude, latitude, and total precipitation (in mm) for each point. If unsuccessful, returns FALSE.

Author(s)

Kevin Shook

Examples

## Not run: 
daily_rain <- WATCHdailyArealPrecip(monthly_rain, 'CST')
## End(Not run)

CentreForHydrology/Reanalysis documentation built on Nov. 23, 2022, 2:57 a.m.