interp_track: Interpolate a storm track

Description Usage Arguments Value

View source: R/map_exposure.R

Description

This function takes a wider-spaced storm track (e.g., every 6 hours) and interpolates to every 15 minutes. To do this, it uses natural cubic spline interpolation using the 'spline' function from the 'stats' package. The track is only interpolated if there are three or more observations on the central location of the storm (this is almost always the case for storms tracked in the HURDAT2 dataset).

Usage

1
interp_track(track)

Arguments

track

A dataframe with hurricane track data for a single storm

Value

A dataframe with hurricane track data for a single storm, interpolated to 15-minute intervals.


hurricaneexposure documentation built on March 26, 2020, 8 p.m.