ERAdeaccum | R Documentation |
This function is used to deaccumulate variables stored as 12-hour cumulative values by ERA to 3-hour values. It is called by other functions, but may also be useful as a stand-alone functions. Note that this function only works for a single location, i.e. NOT areal values.
ERAdeaccum(ERAobs, colnum = 1, quiet = TRUE, logfile = "")
ERAobs |
Required. A CRHMr obs dataframe of ERA data, created by |
colnum |
Optional. The column number containing the values to be deaccumulated, 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 deaccumulated value. If unsuccessful, returns the value FALSE
.
Kevin Shook
## Not run: deaccum <- ERAdeaccum(ERAobs) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.