Group
Extension

Matches 3

Weather-NHC-TropicalCyclone ( D/DA/DANX/Weather-NHC-TropicalCyclone-0.34.tar.gz, DANX, 2022; MetaCPAN )
Weather-NHC-TropicalCyclone/lib/Weather/NHC/TropicalCyclone.pm ( view source; MetaCPAN )
opicalCyclone;

use strict;
use warnings;
use HTTP::Tiny ();
use HTTP::Status qw/:constants/;
use JSON::XS ();
use Util::H2O qw/h2o/;
use Weather::NHC::TropicalCyclone::Storm ();

our $VERSION        
           = q{0.34};
our $DEFAULT_URL                 = q{https://www.nhc.noaa.gov/CurrentStorms.json};
our $DEFAULT_RSS_ATLANTIC        = q{https://www.nhc.noaa.gov/index-at.xml};
our $DEFAULT_RSS_E
             = 10;

# container class for requesting JSON and providing
# iterator access and meta operations for the storms
# contained in the JSON returned by NHC

sub new {
    my $pkg  = shift;
  
Weather-NHC-TropicalCyclone ( D/DA/DANX/Weather-NHC-TropicalCyclone-0.34.tar.gz, DANX, 2022; MetaCPAN )
Weather-NHC-TropicalCyclone/lib/Weather/NHC/TropicalCyclone/ForecastAdvisory.pm ( view source; MetaCPAN )
r use with the NHC forecast advisory text

=head1 SYNOPSIS

Below is a full example of fetching a JSON file from NHC and iterating over
each storm using C<Weather::NHC::TropicalCyclone>. The NHC forec
Weather-NHC-TropicalCyclone ( D/DA/DANX/Weather-NHC-TropicalCyclone-0.34.tar.gz, DANX, 2022; MetaCPAN )
Weather-NHC-TropicalCyclone/lib/Weather/NHC/TropicalCyclone/Storm.pm ( view source; MetaCPAN )
 a convenient interface to individual storm sections
delivered inside of the NHC Tropical Cyclone JSON file. 

=head1 SYNOPSIS

   use strict;
   use warnings;
   use Weather::NHC::TropicalCyclone ();
file, qq{$advNum.$local_file};
   }

=head1 DESCRIPTION

Given JSON returned by the NHC via C<https://www.nhc.noaa.gov/CurrentStorms.json>,
this module creates a covenient object for encapsulating eac
as.

Attempts to fetch the best track C<.dat> file that. This URL is not provided directly
by the JSON file, but can be easily derived by using using C<$DEFAULT_BTK_ROOT> and
composing the filename us

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.