get_wind_profiles: Return wind profile data from HURDAT2 observation

View source: R/support-fxns.R

get_wind_profilesR Documentation

Return wind profile data from HURDAT2 observation

Description

This function takes a single HURDAT2 observation retreived from load_hurdat_track() and returns a wind profileis used to download, parse, and format the current tropical storm database

Usage

get_wind_profiles(obs)

Arguments

obs

SpatialPointsDataFrame: a single hurricane observation represented by a single row of an object returned from load_hurdat_track()

Examples

# Download recent data from HURDAT2 (NOAA)
fetch_best_tracks_data(hurdat_database)
track = load_hurdat_track('AL142018') # Load data from hurricane Micahel
observation = track[17,] #select a single observation to analyze
get_wind_profiles(observation)

jbcannon/hurrecon documentation built on May 7, 2023, 12:26 a.m.