-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
84 lines (66 loc) · 3.43 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Astro-SpaceTrack is Copyright (C) 2005-2024 by Thomas R. Wyant, III
DESCRIPTION
This library logs in to the Space Track web site and downloads orbital
elements. It is also capable of accessing other sources of satellite
orbital elements. It does nothing that you can't do with a web browser,
but it does give you a way to automate things.
Note that you are required to register for a username and password before
making use of the Space Track web site.
FEDERAL LAW FORBIDS THE REDISTRIBUTION OF DOWNLOADED ORBITAL ELEMENTS
TO THIRD PARTIES WITHOUT PRIOR PERMISSION.
At some point along its career, this module has been seen to work under
the following operating systems (or, more correctly, values of $^O):
cygwin, darwin, MacOS, MSWin32, and VMS. CPAN Testers
(http://testers.cpan.org/) adds Linux and Freebsd to the list.
INSTALLATION
This module is installable by the usual incantation:
gunzip Astro-SpaceTrack-9.999.tar.gz
tar -xf Astro-SpaceTrack-9.999.tar
perl Makefile.PL
make
make test
make install
You should substitute the appropriate program name for 'make', eg nmake
(typically) under MSWin32, or mms or mmk under VMS. See
ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe for a copy of
nmake for MSWin32 if you need it.
If your tar supports it, you can use the -z qualifier (i.e. 'tar -xzf')
and skip the 'gunzip' step. You can also skip 'make' if you do 'make
test', since 'make test' implies 'make'.
The 'make test' step of the installation will ask you for your Space
Track username and password. This prompt can be supressed in a number
of ways:
* Set environment variable AUTOMATED_TESTING to a true value. This
will cause all tests that access the Space Track web site to be
skipped.
* Set environment variable SPACETRACK_USER to your username, a slash,
and your password. If you do this incorrectly, the tests that access
the Space Track website will fail.
If you do not have a Space Track account, a return when prompted for
your username will also cause the tests that access the Space Track
database to be skipped.
Note that once you have done the "make" step you can play with either of
the two specimen applications provided (SpaceTrack for a command-line
version, or SpaceTrackTk for the Perl/Tk windowed version). If you want
to do this before installing, you need to invoke them as (e.g.)
$ perl -Mblib script/SpaceTrack
Under VMS, you'll need to quote the -M thus:
$ perl "-Mblib" script/SpaceTrack
By default, Makefile.PL will ask you whether you want the SpaceTrack
and/or SpaceTrackTk applications installed. It supports two
command-line qualifiers:
-n to answer all questions "no", and
-y to answer all questions "yes".
You must not specify both of these, because if you do it will confuse
the bejeebers out of Makefile.PL, and it will die horribly.
Of course, since it's pure Perl, you can just expand the kit and drop
SpaceTrack.pm and the SpaceTrack folder into the Astro directory
(creating it if necessary) in the appropriate place in your @INC
directories. Read Makefile.PL for how to generate the applications.
LICENSING INFORMATION
This package 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.