Version 1.2.1 (3.89 KB) by Joshua Port
Reads in all data for a specified storm from the NHC HURDAT2 file
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 (, 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

Added Github link to File Exchange page


Added plotHurdat2 to this package; no code changes


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


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


Missed one!


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


Added relevant image to File Exchange page


Fixed typo