calc_forward_speed: Calculate storm's forward speed

View source: R/RcppExports.R

calc_forward_speedR Documentation

Calculate storm's forward speed

Description

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

Usage

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 Sept. 27, 2022, 6:47 a.m.