Geo::TAF

Decode METAR and TAF strings
Download

Geo::TAF Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dirk-Jan Koopman
  • Publisher web site:
  • http://search.cpan.org/~djk/

Geo::TAF Tags


Geo::TAF Description

Decode METAR and TAF strings Geo::TAF is a Perl module that decodes aviation METAR and TAF weather forecast code strings into English or, if you sub-class, some other language.SYNOPSIS use strict; use Geo::TAF; my $t = new Geo::TAF; $t->metar("EGSH 311420Z 29010KT 1600 SHSN SCT004 BKN006 01/M00 Q1021"); or $t->taf("EGSH 311205Z 311322 04010KT 9999 SCT020 TEMPO 1319 3000 SHSN BKN008 PROB30 TEMPO 1318 0700 +SHSN VV/// BECMG 1619 22005KT"); or $t->decode("METAR EGSH 311420Z 29010KT 1600 SHSN SCT004 BKN006 01/M00 Q1021"); or $t->decode("TAF EGSH 311205Z 311322 04010KT 9999 SCT020 TEMPO 1319 3000 SHSN BKN008 PROB30 TEMPO 1318 0700 +SHSN VV/// BECMG 1619 22005KT"); foreach my $c ($t->chunks) { print $c->as_string, ' '; } or print $self->as_string; foreach my $c ($t->chunks) { print $c->as_chunk, ' '; } or print $self->as_chunk_string; my @out = $self->as_strings; my @out = $self->as_chunk_strings; my $line = $self->raw; print Geo::TAF::is_weather($line) ? 1 : 0; Requirements: · Perl


Geo::TAF Related Software