#!/usr/local/bin/perl use 5.008; use strict; use warnings; use Astro::App::Satpass2; Astro::App::Satpass2->run(@ARGV); __END__ =head1 TITLE satpass2 - Script to wrap Astro::App::Satpass2 satellite prediction functionality. =head1 SYNOPSIS satpass2 satpass2 'st spaceflight -all -eff' pass exit satpass2 L method. Briefly and non-definitively, =over =item -filter This option asserts that F is being run as a Unix filter, and suppresses the front matter. It can be negated by specifying C<-nofilter>. It is asserted by default if C is not an interactive terminal. =item -initialization_file filename This option specifies an alternative initialization file. The synonym C<-initfile> can also be used. =item -gmt This option specifies that times are to be displayed in GMT. =item -help This option causes the L L method to be run. The script then exits. =item -version This option causes the front matter (version and copyright) to be displayed. The script then exits. =back =head1 DETAILS This script is a wrapper for the L package. All it really does is to load the C package and then call its L method. What you get is an application similar to the C script packaged with L, but (hopefully!) more flexible and easier to maintain. The core functionality is the prediction of satellite passes over a given location, plus the prediction of Iridium flares. There are also a number of support functions. You can download orbital data (via L) from a number of sources, or you can load it from a file or store it in a file. You can define your own commands in terms of the existing ones. In the United States, you can geocode observing locations to latitude and longitude, and download your height above sea level from the U. S. Geological Survey via module L. Besides the restructuring of the code into an object, the largest change from F is the extremely flexible templating system used to produce output. This should allow broad customization of output to meet personal needs. See L for the (unfortunately) gory details. =head1 AUTHOR Thomas R. Wyant, III F =head1 COPYRIGHT AND LICENSE Copyright (C) 2010-2013 by Thomas R. Wyant, III This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. =cut # ex: set textwidth=72 :