Jump to content
  • Member Statistics

    17,508
    Total Members
    7,904
    Most Online
    joxey
    Newest Member
    joxey
    Joined

Archived hurricane data


Recommended Posts

I'm basically looking for something very similar to weather.unisys

I'm trying to read in those files using perl, but for whatever reason it's not liking the .dat extension on the webpage.

So for instance, I'm trying to read in http://www.weather.unisys.com/hurricane/atlantic/1981/ARLENE/track.dat

But it's rejected all of my attempts.

Otherwise, weather.unisys is perfect, so if someone can help me with the perl...

Thanks!!

Link to comment
Share on other sites

I don't know if this is what you mean, or if you've tried it already, but "easyread" hurdat (http://www.aoml.noaa...yread-2010.html) is much easier to read and put to use than the raw original hurdat file. It's exactly like the original, but simply translated to a much more basic format.

And the other benefit is that these data are correct and up-to-date.

Link to comment
Share on other sites

I've already dumped the hurdat (and IBTrACS) data to a mysql database, which would make the data very easy to manage, for ACE or any other stuff. If you want the database or if you just want the ACE data, just PM me with what exactly you want and I might be able to send you an excel spreadsheet or something like it.

Link to comment
Share on other sites

For the hurdat parsing, you can use the unpack function in PERL, I think it works similarly to the one in PHP... a snippet of the code in PHP

$fields = unpack('A6SeqNum1/A11StartDate/A2M/A3StormDays/A3StormNum/A5SNBR/A5TotalStormNum/A12StormName/A5XING/A2HitUS/A4SSS/A1HitUSCat/A20Padding/A1LastStorm',$s);
$fields_StartDate=explode('/',trim($fields["StartDate"]));
$year=$fields_StartDate[2];
$start_date=$year.$fields_StartDate[0].$fields_StartDate[1];
$storm_days=trim($fields["StormDays"]);
$total_storm_num=trim($fields["TotalStormNum"]);
$storm_num=trim($fields["StormNum"]);
$storm_name=trim($fields["StormName"]);
$hit_US=trim($fields["HitUS"]);
$hit_US_cat=$fields["HitUSCat"];
$last_storm=$fields["LastStorm"]=='L'?1:0;

You can check the full code on http://db.hellohelp.net/hurdat_storms/storm_search.php (parse_hurdat.php)

Link to comment
Share on other sites

I've already dumped the hurdat (and IBTrACS) data to a mysql database, which would make the data very easy to manage, for ACE or any other stuff. If you want the database or if you just want the ACE data, just PM me with what exactly you want and I might be able to send you an excel spreadsheet or something like it.

I just saw this post lol. Sending you a PM now.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...