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.02

SYNOPSIS

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

  my $eew = Earthquake::EEW::Decoder->new();
  $data = <<EoF;
  47 03 00 061004150000 C11
  061004145930
  ND20061004145955 NCPN01
  9762 N336 E1362 040
  PRC0000/
  CAI 0000
  CPI 0000
  CBI 000
  PAI 9936 9941 9934 9943 9942
  PPI 9240 9300 9180 9210 9220 9230 9250 9260 9270 9280 9290
  9360 9370 9390 9330
  PBI 462 551 550 461 400 401 432 442 443 450 451 460
  500 501 510 511 520 521 531 532 535 540 600 601
  610 630 631 581 611
  NCP
      ND20061004145955 NCN001 JD////////////// JN///
      469 N336 E1362 040 69 6- RK33333 RT1//// RC0////
  EBI 462 S6-5+ 150030 00 551 S6-5+ 150030 00
      550 S5+5- 150035 00 461 S5-5- 150035 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 2010 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 785:

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