windSpeedErainterim: Computes total wind speed for raster based time series.

Description Usage Arguments Value Examples

Description

windSpeedErainterim calculates the total wind speed [m/s] of raster based time series (RasterBrick or RasterStack object, see: Raster-class) derived from netcdf raster files as downloaded from ERA interim. This is done by computing the length of the total vector from the north-south and east-west components as suggested by https://confluence.ecmwf.int/pages/viewpage.action?pageId=77229867.

Usage

1
windSpeedErainterim(u10, v10, cores = 10, timedate, clcall = NULL)

Arguments

u10

A RasterBrick or RasterStack object with values for the wind speed at 10 m height in east direction (negative signs indicate a wind direction to the west). u10 is supposed to have the same temporal extent and resolution as v10.

v10

A RasterBrick or RasterStack object with values for the wind speed at 10 m height in north direction (negative signs indicate a wind direction to the south). v10 is supposed to have the same temporal extent and resolution as u10.

cores

The number of cores to be used in parallel computing.

timedate

A POSIXct vector containing the time information for each band/layer of variable.

clcall

A function passed to clusterCall.

Value

A list with the first element representing the relative air humidity [ time series with as a RasterBrick with the same temporal resultution as dt and t and the second element a POSIXct vector containing the time information.

Examples

1
#

henningte/herdersWDA documentation built on May 16, 2019, 3:11 p.m.