Astro::SpaceTrack

Retrieve orbital data from www.space-track.org
Download

Astro::SpaceTrack Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tom Wyant
  • Publisher web site:
  • http://search.cpan.org/~wyant/

Astro::SpaceTrack Tags


Astro::SpaceTrack Description

Astro::SpaceTrack is a Perl module that accesses the Space-Track web site, http://www.space-track.org, and retrieves orbital data from this site. You must register and get a username and password before you can make use of this package, and you must abide by the site's restrictions, which include not making the data available to a third party.In addition, the celestrak method queries http://celestrak.com/ for a named data set, and then queries http://www.space-track.org/ for the orbital elements of the objects in the data set. This method may not require a Space Track username and password, depending on how you have the Astro::SpaceTrack object configured. See the documentation on this method for the details.Other methods (amsat(), spaceflight() ...) have been added to access other repositories of orbital data, and in general these do not require a Space Track username and password.Beginning with version 0.017, there is provision for retrieval of historical data.Nothing is exported by default, but the shell method/subroutine and the BODY_STATUS constants (see "iridium_status") can be exported if you so desire.Most methods return an HTTP::Response object. See the individual method document for details. Methods which return orbital data on success add a 'Pragma: spacetrack-type = orbit' header to the HTTP::Response object if the request succeeds, and a 'Pragma: spacetrack-source =' header to specify what source the data came from.SYNOPSIS my $st = Astro::SpaceTrack- >new (username = > $me, password = > $secret, with_name = > 1) or die; my $rslt = $st- >spacetrack ('special'); print $rslt- >is_success ? $rslt- >content : $rslt- >status_line;or perl -MAstro::SpaceTrack=shell -e shell (some banner text gets printed here) SpaceTrack > set username me password secret OK SpaceTrack > set with_name 1 OK SpaceTrack > spacetrack special >special.txt SpaceTrack > celestrak visual >visual.txt SpaceTrack > exitProduct's homepage


Astro::SpaceTrack Related Software