WATCHhourlyObs: Interpolates 3 and 6 hour WATCH variables to hourly values

View source: R/WATCHhourlyObs.R

WATCHhourlyObsR Documentation

Interpolates 3 and 6 hour WATCH variables to hourly values

Description

Interpolates t, u10, ea, qsi, and qli values (6-hour in WFD, 3-hour in WFDEI) to hourly. The total p values are evenly divided over the hourly intervals. Outputs hourly t, u10, ea, qsi, qli, and p.

Usage

WATCHhourlyObs(infile = "", outfile = "", logfile = "")

Arguments

infile

Required. Name of file created by CreateWFDobs or CreateWFDobs.

outfile

Required. Hourly obs file to be created.

logfile

Optional. Name of the file to be used for logging the action. Normally not use

Value

If successful, returns the value TRUE and writes the specified .obs file of hourly values. If unsuccessful, returns the value FALSE.

Author(s)

Kevin Shook

Examples

## Not run: 
WATCHhourlyObs('VermilionWATCH_WFD.obs', 'VermilionWFDhourly.obs')
WATCHhourlyObs('VermilionWATCH_WFDEI.obs', 'VermilionWFDEIhourly.obs')
## End(Not run)

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