TITLE

reference - Produce output corresponding to VSOP87D reference implementation

SYNOPSIS

reference
reference -body venus 2018-4-1T00:00:00
reference -help
reference -version

OPTIONS

-body

-body=Earth

This option specifies the body whose state vector is to be computed. Possible values are class names in this package, with the leading Astro::Coord::ECI::VSOP87D:: stripped. 'Earth' is special-cased. Its model lives in Astro::Coord::ECI::VSOP87D itself, since VSOP87D is a Heliocentric model and we need to subtract the position of the Earth to get a geocentric position.

The argument is case-insensitive, but only bodies actually implemented may be specified.

The default is -body=Earth.

-debug

This Boolean option causes the output of whatever debugging information the author finds helpful. Asserting it is unsupported in the sense that the author makes no representation what will happen if it is asserted -- and whatever happens, the author reserves the right to change it without notice.

The default is -nodebug.

-help

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

-version

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

DETAILS

This Perl script attempts to reproduce the output of the reference implementation of the VSOP87D model, which is a Fortran program, example.f, included with U. Strasbourg's download.

The time to model is specified on the command line in punctuated ISO-8601 format: year-month-dayThour:minute:second. The parser is stupid, and accepts any non-digits as field delimiters.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2018-2022, 2024 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.