readHurdat2

Version 1.2.1 (3.89 KB) by Joshua Port
Reads in all data for a specified storm from the NHC HURDAT2 file
32 Downloads
Updated 14 Feb 2024

View License

Reads in all data for a specified storm from the National Hurricane Center's HURDAT2 Best Track file. See the NHC website for downloads and for information about the HURDAT2 format (link good as of 2/2024).
A function is also included to plot the storm track, location, and wind radii at a specified time. This time need not match a time slice in the HURDAT2 file, as all relevant quantities are interpolated. If you would also like to plot 64kt wind radii, it would be simple to add that functionality by following the same method I used for 34kt and 50kt.
NOTE: The plotting function requires the Mapping Toolbox, but the reading function does not.

Cite As

Joshua Port (2024). readHurdat2 (https://www.mathworks.com/matlabcentral/fileexchange/112930-readhurdat2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.1

Added Github link to File Exchange page

1.2.0

Added plotHurdat2 to this package; no code changes

1.1.1

Updated the metadata to make it clear the function will not work on versions older than R2020b, since the extract() function was introduced in that version

1.1.0

Fixed bug causing incorrect 64 kt radii and radii of maximum wind to be returned. Removed some unnecessary type casts.

1.0.4

Missed one!

1.0.3

Removed references to a CSV to avoid confusion because the HURDAT2 file is in .txt format (despite being comma delimited)

1.0.2

Added relevant image to File Exchange page

1.0.1

Fixed typo

1.0.0