calc_forward_speed: Calculate storm's forward speed

Description Usage Arguments Value

View source: R/latlon_helpers.R

Description

This storm takes two storm locations and their observations times and calculates the average speed of the storm between the two observations.

Usage

1
calc_forward_speed(tclat_1, tclon_1, time_1, tclat_2, tclon_2, time_2)

Arguments

tclat_1

A numeric vector giving latitude of the first location (degrees)

tclon_1

A numeric vector giving longitude of the first location (degrees). This value should be expressed as a positive value for Western hemisphere longitudes.

time_1

A date-time vector giving the time of the first observation.

tclat_2

A numeric vector giving latitude of the second location (degrees)

tclon_2

A numeric vector giving longitude of the second location (degrees). This value should be expressed as a positive value for Western hemisphere longitudes.

time_2

A date-time vector giving the time of the second observation.

Value

A numeric vector with the average forward speed of the storm between the two observations, in meters per second.


geanders/stormwindmodel documentation built on Oct. 15, 2018, 12:06 p.m.