~ubuntu-branches/ubuntu/oneiric/kstars/oneiric-proposed

« back to all changes in this revision

Viewing changes to README.ephemerides

  • Committer: Bazaar Package Importer
  • Author(s): Rohan Garg
  • Date: 2011-07-23 23:07:27 UTC
  • Revision ID: james.westby@ubuntu.com-20110723230727-xp70ea7v5eay0wya
Tags: upstream-4.7.0
ImportĀ upstreamĀ versionĀ 4.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
KStars keeps track of thousands of comets and asteroids.  
 
2
It uses orbital data published by NASA's Jet Propulsion 
 
3
Laboratory (JPL); these data are known as "orbital elements".
 
4
Because these small bodies are easily perturbed as they 
 
5
wander about the solar system, their orbital elements must 
 
6
be updated regularly.  Updating the elements will also add 
 
7
any recently-discovered bodies.
 
8
 
 
9
 
 
10
How to update the orbital elements of comets and asteroids:
 
11
 
 
12
-=( 1 )=-  The Easy Way.
 
13
 
 
14
Start KStars, then open the "Get New Stuff" Tool by selecting 
 
15
"Download Data..." from the File menu, or by pressing Ctrl+D.
 
16
 
 
17
If a new "ephemerides" package is available, select it and press 
 
18
the Install button.  Voila!
 
19
 
 
20
If the "ephemerides" package available from the "Get New Stuff" 
 
21
Tool is too old, you can use the menu items under 
 
22
"Settings" > "Updates" to download the last ephemerides from 
 
23
NASA's Jet Propulsion Laboratory website.
 
24
 
 
25
 
 
26
-=( 2 )=-  Doing it Manually.
 
27
 
 
28
It is possible that the ephemerides package is not completely 
 
29
up-to-date.  Fortunately, it's relatively simple to update the 
 
30
files manually whenever you want.  
 
31
 
 
32
::NOTE:: If you find that the ephemerides package is woefully 
 
33
outdated, and you follow this manual-install procedure, PLEASE
 
34
send your final comets.dat and asteroids.dat files to 
 
35
kstars-devel@kde.org!  Now is your chance to be a KStars Hero!
 
36
 
 
37
 
 
38
Step 1: The Comets
 
39
 
 
40
You can use the following command to download comets.dat file
 
41
from JPL website :
 
42
wget -O comets.dat --post-data="obj_group=all&obj_kind=com&obj_numbered=all&OBJ_field=0&OBJ_op=0&OBJ_value=&ORB_field=0&ORB_op=0&ORB_value=&combine_mode=AND&c1_group=OBJ&c1_item=Af&c1_op=!%3D&c1_value=D&c2_group=OBJ&c2_item=Ae&c2_op=!%3D&c2_value=SOHO&c_fields=AcBdBiBgBjBlBkBqBbAiAjAgAkAlApAqArAsBsBtCh&table_format=CSV&max_rows=10&format_option=full&query=Generate%20Table&.cgifields=format_option&.cgifields=field_list&.cgifields=obj_kind&.cgifields=obj_group&.cgifields=obj_numbered&.cgifields=combine_mode&.cgifields=ast_orbit_class&.cgifields=table_format&.cgifields=ORB_field_set&.cgifields=OBJ_field_set&.cgifields=preset_field_set&.cgifields=com_orbit_class" http://ssd.jpl.nasa.gov/sbdb_query.cgi
 
43
 
 
44
Delete or comment (with a '#') the first line.
 
45
 
 
46
Finally, copy your modified "comets.dat" to 
 
47
~/.kde/share/apps/kstars/ (for a single-user install) or 
 
48
$KDEDIR/share/apps/kstars/ (for a system-wide install).
 
49
 
 
50
 
 
51
Step 2: The Asteroids
 
52
 
 
53
You can use the following command to download asteroids.dat 
 
54
file from JPL website :
 
55
wget -O asteroids.dat --post-data="obj_group=all&obj_kind=ast&obj_numbered=num&OBJ_field=0&ORB_field=0&c1_group=OBJ&c1_item=Ai&c1_op=%3C&c1_value=12&c_fields=AcBdBiBhBgBjBlBkBmBqBbAiAjAgAkAlApAqArAsBsBtCh&table_format=CSV&max_rows=10&format_option=full&query=Generate%20Table&.cgifields=format_option&.cgifields=field_list&.cgifields=obj_kind&.cgifields=obj_group&.cgifields=obj_numbered&.cgifields=combine_mode&.cgifields=ast_orbit_class&.cgifields=table_format&.cgifields=ORB_field_set&.cgifields=OBJ_field_set&.cgifields=preset_field_set&.cgifields=com_orbit_class" http://ssd.jpl.nasa.gov/sbdb_query.cgi
 
56
 
 
57
Delete or comment (with a '#') the first line.
 
58
 
 
59
Finally, copy your modified "asteroids.dat" to 
 
60
~/.kde/share/apps/kstars/ (for a single-user install) or 
 
61
$KDEDIR/share/apps/kstars/ (for a system-wide install).
 
62
 
 
63
 
 
64
-=( 3 )=-  Another way.
 
65
 
 
66
The last method is to point your browser to the following 
 
67
URL:
 
68
http://ssd.jpl.nasa.gov/sbdb_query.cgi
 
69
and generate the file using the form
 
70
 
 
71
You must select the following columns to make the file 
 
72
compatible with kstars :
 
73
 
 
74
- for comets
 
75
1 full name
 
76
2 modified julian day of orbital elements
 
77
3 perihelion distance
 
78
4 eccentricity of orbit
 
79
5 inclination angle of orbit in degrees
 
80
6 argument of perihelion in degrees
 
81
7 longitude of the ascending node
 
82
8 time of perihelion passage
 
83
9 orbit solution ID
 
84
10 absolute magnitude
 
85
11 slope parameter
 
86
12 Near-Earth Object (NEO) flag
 
87
13 comet total magnitude parameter
 
88
14 comet nuclear magnitude parameter
 
89
15 object diameter
 
90
16 object bi/tri-axial ellipsoid dimensions
 
91
17 geometric albedo
 
92
18 rotation period
 
93
19 orbital period
 
94
20 earth minimum orbit intersection distance
 
95
21 orbit classification
 
96
 
 
97
-for asteroids
 
98
1 full name
 
99
2 Modified Julian Day of orbital elements
 
100
3 perihelion distance
 
101
4 semi-major axis
 
102
5 eccentricity of orbit
 
103
6 inclination angle of orbit in degrees
 
104
7 argument of perihelion in degrees
 
105
8 longitude of the ascending node in degrees
 
106
9 mean anomaly
 
107
10 time of perihelion passage
 
108
11 orbit solution ID
 
109
12 absolute magnitude
 
110
13 slope parameter
 
111
14 Near-Earth Object (NEO) flag
 
112
15 comet total magnitude parameter
 
113
16 comet nuclear magnitude parameter
 
114
17 object diameter
 
115
18 object bi/tri-axial ellipsoid dimensions
 
116
19 geometric albedo
 
117
20 rotation period
 
118
21 orbital period
 
119
22 earth minimum orbit intersection distance
 
120
23 orbit classification
 
121
 
 
122
The advantage of this method is that you can play with 
 
123
several filters and get a file containing exactly what 
 
124
you want.
 
125
 
 
126
Don't forget to delete or comment (with a '#') the first 
 
127
line.
 
128
 
 
129
Finally, copy your files to 
 
130
~/.kde/share/apps/kstars/ (for a single-user install) or 
 
131
$KDEDIR/share/apps/kstars/ (for a system-wide install).