++ed by:
TYLDUM HAMMER

2 PAUSE users

Tom Wyant
and 1 contributors

TITLE

visual - Compare Celestrak visual to McCants vsnames

SYNOPSIS

 visual
 visual -help
 visual -version

OPTIONS

-debug

If asserted, this Boolean option causes debug information to be written to standard error. Asserting this option is unsupported, at least in the sense that the author reserves the right to change the output without notice.

-decayed

If this Boolean option is asserted, Astro::SpaceTrack and JSON are loaded, and the Space Track web site is queried for the Satcat status of the objects. Any that have defined decay dates are eliminated.

-help

This option displays the documentation for this script. The script then exits.

-merge

If asserted, this option causes Mike McCants' quicksat.mag file to be fetched also, and a magnitude hash to be produced that defines magnitudes for any body that appears on either the Celestrak visual list or the McCants vsnames list, and has a magnitude in either the McCants vsnames list or the McCants quicksat list. The output is Data::Dumper format.

-version

This option displays the version of this script. The script then exits.

DETAILS

This Perl script downloads the list of visual bodies from the Celestrak web site and the vsnames.mag file from Mike McCants' web site and compares the two, reporting OIDs that are not on both sites and what site they are on.

Note, though, that you get different output if you assert -merge.

In either case, though, the last thing you get is a Last-Modified: date, which is the most-recent of any of the data sources examined.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2014-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 Artistic License 1.0 at http://www.perlfoundation.org/artistic_license_1_0, and/or the Gnu GPL at http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt.

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.