events2field: Transform an input object into a 'field' object

View source: R/events2field.R

events2fieldR Documentation

Transform an input object into a field object

Description

Transform a trajectory object into a field object by aggregating it in time and space.

Usage

events2field(x, verbose = FALSE, ...)

Arguments

x

a trajectory object

verbose

a boolean; if TRUE print information about progress

...

additional arguments

dt

frequency of output: 'month', 'season', 'quarter' (same as 'season') or 'year'

dx

resolution in longitude direction (unit: degrees)

dy

resolution in latitude direction (unit: degrees)

plot

if TRUE show plot of results

radius

radius within which to look for trajectories for each grid point (unit: m)

it

a time index, e.g., a range of years: c(1984,2019)

is

a spatial index, e.g., a list with longitude and latitude ranges: list(lon=c(0,45), lat=c(45,70))

param

parameter to calculate field of; if NULL calculate track density (for other options, see colnames(x))

type

'track', 'genesis', or 'lysis'

longname

name of variable

Value

a field object

See Also

as.field CCI track.events


metno/esd documentation built on April 29, 2024, 3:34 p.m.