closest - Find body closest to given position at given time
closest 'today noon' 53 -25 foo.tle closest -help closest -version
This option displays the documentation for this script. The script then exits.
This option displays the version of this script. The script then exits.
This Perl script finds the orbiting body closest to the given position at the given time as seen from a pre-programmed location: Parliament House, Canberra ACT, Australia.
The arguments are the desired time (in a format suitable for Date::Manip), the right ascension (in decimal degrees, not hours), the declination (also in decimal degrees), and the names of one or more files containing satellite TLE orbital element sets.
The output is the OID of the closest body at the given time, and its right ascension, declination, and angular separation from the given position in degrees, as seen from the observing station.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (C) 2012-2017 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.