The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Earthquake::EEW::Decoder - Perl extension for JMA Earthquake Early Warning data

VERSION

Version 0.03

SYNOPSIS

  use Earthquake::EEW::Decoder;
  use Data::Dumper;
  use utf8;

  my $eew = Earthquake::EEW::Decoder->new();
  $data = <<EoF;
  37 03 00 110311144702 C11
  110311144616
  ND20110311144640 NCN009 JD////////////// JN///
  288 N381 E1429 010 76 5- RK66444 RT11/// RC0////
  EBI 222 S5-04 ////// 11 220 S5-04 ////// 11 211 S5-04 ////// 11
  210 S5-04 144703 10 221 S5-04 144703 10 213 S0404 ////// 11
  251 S0404 144704 10 250 S0404 144711 10 241 S0404 144715 10
  212 S0404 144715 10 242 S0404 144715 10 233 S0404 144715 10
  300 S0404 144721 00 252 S0404 144722 00 240 S0404 144727 00
  243 S0403 144719 00 231 S0403 144730 00 202 S0403 144732 00
  372 S0403 144732 00 301 S0403 144733 00 230 S0403 144736 00
  340 S0403 144739 00 331 S0403 144748 00
  9999=
  EoF
  my $d = $eew->read_data($data);
  print Dumper $d;

DESCRIPTION

Earthquake Early Warning(Japan) The Earthquake Early Warning (EEW) (ç·Šæ€¥åœ°éœ‡é€Ÿå ± ,Kinkyu- Jishin Sokuho-) is a warning which is issued just after an earthquake in Japan is detected. The warnings are issued mainly by Japan Meteorological Agency (JMA). JMA has two EEW schemes. One is for advanced users. The other is for the general public, which is mainly mentioned in detail in this article. Earthquake::EEW::Decoder supported 2 schemes.

EXPORT

AUTHOR

Satoshi KUBOTA, <skubota at cpan.org>

BUGS

Please report any bugs or feature requests to bug-earthquake-eew-decoder at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Earthquake-EEW-Decoder. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Earthquake::EEW::Decoder

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Satoshi KUBOTA.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 778:

Non-ASCII character seen before =encoding in '(緊急地震速報'. Assuming CP1252