View source: R/ERAhourlyPrecip.R
ERAhourlyPrecip | R Documentation |
This function is called after using the function getNearestERAtimeseries
. This function removes negative values, deaccumulates the 12-hour cumulative values to 3-hour values, using the function deaccumERA
, and divides the results by 3 to give to hourly values.
ERAhourlyPrecip(ERAtp, tpColnum = 1, quiet = TRUE, logfile = "")
ERAtp |
Required. The CRHMr obs dataframe of ERA tp values. The values must not be deaccumulated, as the |
tpColnum |
Optional. The column number containing the tp values, not including the datetime. Default is column 1. |
quiet |
Optional. Suppresses display of messages, except for errors. If you are calling this function in an R script, you will usually leave |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used |
If successful, returns an obs dataframe containing the interpolated hourly precipitation (p). If unsuccessful, returns the value FALSE
.
Kevin Shook
ERAgetNearestTimeseries
## Not run: hourlyP <- ERAhourlyPrecip(tp) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.