Hurricane Data Organizer
Sole developer
Python archive processing for historical hurricane-observation files, with flight reconstruction and traceable file mappings.
Skills & tools
- Python
- pathlib
- dataclasses
- Regular expressions
- datetime
- tarfile
- shutil
- pytz

Overview
Hurricane Data Organizer is a Python tool I built and used during my NOAA internship to organize historical hurricane-observation archives. It processes legacy files and compressed bundles, recovers flight metadata, and places raw observations and associated processed files into a consistent year-and-flight directory structure.
The workflow connects information scattered across filenames, launch records, aircraft identifiers, and file footers. Standardized D-file names identify observations by launch date, time, and channel, while mapping files retain the relationship between the original inputs and their organized outputs. Raw observations remain in their existing observation-text format rather than being converted into CSV tables.
My contribution
I developed the archive-processing workflow, including file discovery, metadata parsing, aircraft and campaign classification, flight grouping, and output organization. I also implemented exception folders and action logs so files with missing or conflicting metadata could be inspected separately.
The application uses Python dataclasses to hold parsed observations and classification decisions. Dictionaries connect source files, standardized filenames, flight containers, and legacy naming aliases, allowing later processing stages to reuse earlier classification work.
Technical work
Python’s pathlib handles directory traversal, while tarfile extracts supported archive bundles. Text parsing tries UTF-8, CP1252, and Latin-1 encodings, normalizes line endings, and uses regular expressions to recover launch timestamps, aircraft identifiers, mission information, and data channels.
For older Air Force records, the script groups observations by aircraft or mission identifier, sorts them chronologically, and separates flights when consecutive records are more than two hours apart. A continuation record without a launch marker can be merged with the preceding record when its channel matches and the timestamp gap is within thirty minutes. The merge combines the observation bodies and retains the first record’s footer.
Source-to-output mappings and a timestamp-based flight index then associate processed files with their raw flight containers.
Challenges
Legacy archives did not follow one naming convention or place essential metadata in the same location. The parser therefore checks launch records, neighboring lines, and footer metadata, while explicit aircraft and campaign mappings reconcile different identifier conventions.
Ambiguous files are separated into categories such as missing launch information, missing aircraft identity, or unclassified records. A later reconciliation pass revisits files using the accumulated mappings and legacy aliases. Duplicate output names receive numbered suffixes, and the default copy behavior preserves the original inputs.
Results and current state
I used the tool to organize the internship’s historical hurricane data into standardized flight folders and associate processed records with their corresponding observations. Each run produces action, error, and summary logs alongside source-to-output mappings for reviewing its decisions.
The public repository contains the processing implementation. Its demonstrated focus is archive organization, metadata recovery, and record association.