Compute wind speed from their horizontal (u) and vertical (v) components.
Source:R/ext_climate4R_functions.R
computeWindSpeed.Rd
Compute wind speed from their horizontal (u) and vertical (v) components.
Arguments
- u
A climate4R grid object with east-west wind component (see loadeR::loadGridData).
- v
A climate4R grid object with north-south wind component (see loadeR::loadGridData).
Examples
if (FALSE) { # \dontrun{
trace.u <- dsclim::loadHistoricalTraceGrid(
"Data/TraCE21ka/U/trace.36.400BP-1990CE.cam2.h0.U.2160101-2204012.nc",
var = "u@992.5561"
)
trace.v <- dsclim::loadHistoricalTraceGrid(
"Data/TraCE21ka/V/trace.36.400BP-1990CE.cam2.h0.V.2160101-2204012.nc",
var = "v@992.5561"
)
trace.wss <- dsclim::compute_wind_speed(trace.u, trace.v)
} # }