interp_track {hurricaneexposure} | R Documentation |
Interpolate a storm track
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
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.
[Package hurricaneexposure version 0.1.1 Index]