home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
educ
/
planets709.lha
/
Read.Me.2
< prev
next >
Wrap
Text File
|
1992-08-05
|
2KB
|
77 lines
PLANET 1.1
==========
This is a revised version of the PLANET program package as of ><> 321.
Included are the sources for the two programs PLANET and MOONPHASE. I
rewrote the most of the code to speed it up, changed the usage of the
`time' routine to the ANSI standard and made both programs bilingual
for English (that's the way they were) and German (just #define EUTSCH).
The code is for SAS/C and was not tested with Aztec.
Installation
------------
Unpack the LHA-file (LHA version 1.22 from ><> 637):
lha x PLANET
The path `LC/PROGS/PLANET/' will be created.
Copyright
---------
See the two main files `PLANET.C' and `MOONPHASE.C' for details of
restrictions implied by the various authors.
Documentation
-------------
MoonPhase needs no arguments.
Planet may be called as follows:
planet [-y <year, 1992>]
[-m <month, 7>]
[-d <day, 27>]
[-t <time of day, 20.05>]
[-z <time zone, values from -12 to +12, this is different!>]
[-lo <longitude, values from -180 to +180>]
[-la <latitude, values from -90 to + 90>]
planet <Julian day fraction, 2447527.5 for Jan 01 1989 at 0:00 UTC>
planet <Default settings are used for the site of observation and
the current time is used for date and time. You may want
to change this part of the source code (PLANET.C)>
Compiling
---------
Go to the directory `LC/PROGS/PLANET/' and call `lmk all' (given that
you are using the SAS/C-Compiler package with the LMK utility). Both
programs will be created.
Suggestions
-----------
If anyone has the time to rewrite the `moon_pos' and `planet_pos' routines
to give them an extra kick of speed by using the addition theorems for
sine and cosine. I don't have it. Sorry.
Any bug reports and/or further suggestions to
Dipl.-Math.~Andreas Scherer
Abt-Wolf-Stra{\ss}e 17
8620 Lichtenfels
Fed.\ Rep.\ of Germany
Have fun! Andreas