track_density: Calculate storm track density on a grid.

Description Usage Arguments Value See Also Examples

Description

Count total number and normalised number of storm tracks or features on a grid.

Usage

1
track_density(tracks, bw = 1, var = NULL)

Arguments

tracks

Object of class 'stormtracks' (see 'read_tracks')

bw

The bin width (in degrees) of the grid on which track density is calculate. Default=1.

var

Which variable to use to define latitude and longitude. If 'NULL' (the default) it uses the first column names that start on 'lon_' and 'lat_'.

Value

grid of counts

See Also

read_tracks plot.track_density

Examples

1
2
tracks = read_tracks('../inst/extdata/storms.txt')
counts = count_storms(tracks)

sieste/realstorms documentation built on May 13, 2019, 1:09 p.m.