View source: R/ERAhourlyWindspeed.R
ERAhourlyWindspeed | R Documentation |
Estimates hourly wind speeds from ERA-Interim 3-hourly or ERA-40 6-hourly wind vectors
ERAhourlyWindspeed( ERAu10, u10Colnum = 1, ERAv10, v10Colnum = 1, method = "linear", quiet = TRUE, logfile = "" )
ERAu10 |
Required. The CRHMr obs dataframe of ERA u10 wind vector values. The values must not be deaccumulated, as the |
u10Colnum |
Optional. The column number containing the u10 values, not including the datetime. Default is column 1. |
ERAv10 |
Required. The CRHMr obs dataframe of ERA v10 wind vector values. The values must not be deaccumulated, as the |
v10Colnum |
Optional. The column number containing the v10 values, not including the datetime. Default is column 1. |
method |
Optional. The methods to be used for interpolation of the wind speeds. Currently supported methods are linear and spline. The default is to use linear interpolation. |
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 10m wind speeds (u10) in m/s and directions in degrees. If unsuccessful, returns the value FALSE
.
Kevin Shook
ERAgetNearestTimeseries
interpolate
## Not run: hourlyU <- ERAhourlyWindspeed(ERAu10=u10, ERAv10=v10) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.