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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821
|
PREDICT(1) KD2BD Software PREDICT(1)
NNAAMMEE
predict - Track and predict passes of satellites in Earth
orbit
SSYYNNOOPPSSIISS
predict [-u _t_l_e___u_p_d_a_t_e___s_o_u_r_c_e] [-t _t_l_e_f_i_l_e] [-q _q_t_h_f_i_l_e]
[-a _s_e_r_i_a_l___p_o_r_t] [-a1 _s_e_r_i_a_l___p_o_r_t] [-n _n_e_t_w_o_r_k___p_o_r_t] [-f
_s_a_t___n_a_m_e _s_t_a_r_t_i_n_g___d_a_t_e_/_t_i_m_e _e_n_d_i_n_g___d_a_t_e_/_t_i_m_e] [-p _s_a_t___n_a_m_e
_s_t_a_r_t_i_n_g___d_a_t_e_/_t_i_m_e] [-o _o_u_t_p_u_t___f_i_l_e] [-s] [-east] [-west]
[-north] [-south]
DDEESSCCRRIIPPTTIIOONN
PPRREEDDIICCTT is a multi-user satellite tracking and orbital
prediction program written under the Linux operating sys-
tem by John A. Magliacane, KD2BD. PPRREEDDIICCTT is free soft-
ware. You can redistribute it and/or modify it under the
terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the
License or any later version.
PPRREEDDIICCTT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY, without even the implied war-
ranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE. See the GNU General Public License for more details.
FFIIRRSSTT TTIIMMEE UUSSEE
PPRREEDDIICCTT tracks and predicts passes of satellites based on
the geographical location of the ground station, the cur-
rent date and time as provided by the computer system's
clock, and Keplerian orbital data for the satellites of
interest to the ground station. First time users of PPRREE--
DDIICCTT are provided default ground station location and
orbital data information files. These files are managed by
the program, and are normally located in a user's home
directory under a hidden subdirectory named _._p_r_e_d_i_c_t.
First time users will be prompted to supply PPRREEDDIICCTT with
their geographical location (the same as selecting option
[[GG]] from the program's main menu) the first time the pro-
gram is run. Latitude is normally expressed in degrees
north with latitudes south of the equator expressed in
negative degrees. Longitude is normally expressed in
degrees west with eastern longitudes expressed in negative
degrees. This behavior can be modified by passing the
_-_e_a_s_t or _-_s_o_u_t_h commmand line switches to PPRREEDDIICCTT.
Latitudes and longitudes may be either entered in decimal
degrees, or in degrees, minutes, seconds (DMS) format.
Station altitude is entered as the number of meters the
ground station is located above sea level. This parameter
is not very critical. If unsure, make a realistic guess
or simply enter 0.
Users of PPRREEDDIICCTT need Keplerian orbital data for the
satellites they wish to track that is preferably no older
than one month. The default orbital data supplied with the
program is liable to be quite old, and so must be brought
up to date if accurate results are to be expected. This
may be accomplished by selecting option [[EE]] from PPRREEDDIICCTT''ss
main menu and manually entering Keplerian data for each
satellite in the program's database, or by selecting
option [[UU]] and specifying a file containing recent 2-line
Keplerian element data sets that correspond to the satel-
lites in the program's database. Keplerian orbital data
is available from a variety of sources, including
_h_t_t_p_:_/_/_w_w_w_._c_e_l_e_s_t_r_a_k_._c_o_m_/, _h_t_t_p_:_/_/_w_w_w_._s_p_a_c_e_-_t_r_a_c_k_._o_r_g_/,
and _h_t_t_p_:_/_/_w_w_w_._a_m_s_a_t_._o_r_g_/.
PPRROOGGRRAAMM OOPPEERRAATTIIOONN
The start-up screen of PPRREEDDIICCTT lists the program's main
functions. Several tracking and orbital prediction modes
are available, as well as several utilities to manage the
program's orbital database.
PPRREEDDIICCTTIINNGG SSAATTEELLLLIITTEE PPAASSSSEESS
Orbital predictions are useful for determining in advance
when a satellite is expected to come within range of a
ground station. They can also be used to look back to pre-
vious passes to help to confirm or identify past observa-
tions.
PPRREEDDIICCTT includes two orbital prediction modes to predict
any pass above a ground station (main menu option [[PP]]), or
list only those passes that might be visible to a ground
station through optical means (main menu option [[VV]]). In
either mode, the user is asked to select a satellite of
interest from a menu, and then asked to enter the date and
time (in UTC) at which prediction calculations should
start.
The current date and time may be selected by default by
entering nothing and hitting simply the ENTER key when
prompted to enter the starting date and time.
Otherwise, the starting date and time should be entered in
the form:
_D_D_M_o_n_Y_Y _H_H_:_M_M_:_S_S
Entering the time is optional. If it is omitted, midnight
(00:00:00) is assumed. Once complete, orbital calcula-
tions are started and prediction information is displayed
on the screen.
The date and time in UTC, along with the satellite's ele-
vation above ground, azimuth heading, modulo 256 orbital
phase, sub-satellite point latitude and longitude, slant
range between the ground station and the satellite, and
the satellite's orbit number are all displayed. If space-
craft attitude parameters (ALAT, ALON) are included in
PPRREEDDIICCTT''ss transponder database file, then spacecraft
antenna squint angles are displayed instead of orbit num-
bers in the orbital prediction output.
An asterisk (*) displayed to the right of the orbit number
or squint angle means the satellite is in sunlight at the
date and time listed on the line. A plus symbol (+) means
the satellite is in sunlight while the ground station is
under the cover of darkness at the time and date listed.
Under good viewing conditions, large satellites such as
the International Space Station (ISS), the US Space Shut-
tles, and Hubble Space Telescope, and the Upper Atmosphere
Research Satellite (UARS) are visible to the naked eye. If
no symbol appears to the right of each line, then the
satellite is in the Earth's shadow at the time and date
listed, and is not receiving any illumination from the
sun.
Pressing the EENNTTEERR key, the 'YY' key, or the space bar
advances the orbital predictions to a screen listing the
next available passes. Pressing the 'LL' key allows the
currently displayed screen plus any subsequent screens to
be logged to a text file in your current working direc-
tory. The name given to this file is the name of the
satellite plus a ".txt" extension. Any slashes or spaces
appearing in the satellite name are replaced by the under-
score (_) symbol. The logging feature may be toggled on
and off at any time by pressing the 'LL' key. Exiting the
orbital prediction mode by pressing 'NN' or hitting the
EESSCCape key will also close the log file. The log file will
be appended with additional information if additional pre-
dictions are conducted for the same satellite with the
logging feature turned on.
Selecting [[VV]] from PPRREEDDIICCTT''ss main menu will permit a
ground station to only predict passes for satellites that
are potentially visible through optical means. Since all
other passes are filtered out in this mode, and since some
satellites may never arrive over a ground station when
optical viewing conditions are possible, the program pro-
vides the option of breaking out of visual orbital predic-
tion mode by pressing the [[EESSCC]]ape key as calculations are
made. A prompt is displayed at the bottom of the screen to
alert the user of this option.
In either orbital prediction mode, predictions will not be
attempted for satellites that can never rise above the
ground station's horizon, or for satellites in geostation-
ary orbits. If a satellite is in range at the starting
date and time specified, PPRREEDDIICCTT will adjust the starting
date back in time until the point of AOS so that the pre-
diction screen displays the first pass in its entirety
from start to finish.
SSIINNGGLLEE SSAATTEELLLLIITTEE TTRRAACCKKIINNGG MMOODDEE
In addition to predicting satellite passes, PPRREEDDIICCTT allows
satellites to be tracked in real-time using PPRREEDDIICCTT''ss Sin-
gle Satellite Tracking Mode (main menu option [[TT]]), or
simultaneously as a group of 24 using the program's Multi-
Satellite Tracking Mode (main menu option [[MM]]). The posi-
tions of the Sun and Moon are also displayed when tracking
satellites in real-time.
Selecting option [[TT]] from PPRREEDDIICCTT''ss main menu places the
program in Single Satellite Tracking Mode. The user will
be prompted to select the satellite of interest, after
which a screen will appear and display tracking positions
for the satellite selected.
In Single Satellite Tracking Mode, a wealth of information
related to tracking a spacecraft and communicating through
its transponder is displayed. The current date and time
is displayed along with the satellite's sub-satellite
point, its orbital altitude in both kilometers and statute
miles, the slant range distance between the ground station
and the satellite in both kilometers and statute miles,
the current azimuth and elevation headings toward the
satellite, the orbital velocity of the satellite in both
kilometers per hour and statute miles per hour, the
footprint of the satellite in both kilometers and statute
miles, the modulo 256 orbital phase of the satellite, the
eclipse depth, the spacecraft antenna squint angle, and
orbital model in use, as well as the current orbit number
are also displayed. The date and time for the next AOS is
also provided.
Additionally, if the satellite is currently in range of
the ground station, the amount of Doppler shift experi-
enced on uplink and downlink frequencies, path loss, prop-
agation delay, and echo times are also displayed. The
expected time of LOS is also provided.
Uplink and downlink frequencies are held in PPRREEDDIICCTT''ss
transponder database file _p_r_e_d_i_c_t_._d_b located under
_$_H_O_M_E_/_._p_r_e_d_i_c_t. A default file is provided with PPRREEDDIICCTT.
Transponders may be selected by pressing the SPACE BAR.
The passband of the transponder may be tuned in 1 kHz
increments by pressing the << and >> keys. 100 Hz tuning is
possible using the ,, and .. keys. (These are simply the <<
and >> keys without the SHIFT key.)
If no transponder information is available, the data dis-
played on the tracking screen is abbreviated.
The features available in the Single Satellite Tracking
Mode make it possible to accurately determine the proper
uplink frequency to yield a given downlink frequency, or
vice versa. For example, if one wishes to communicate
with a station heard on 435.85200 MHz via FO-29, then
435.85200 MHz can be selected via the keyboard as an RX
frequency using the tuning keys while tracking FO-29, and
the corresponding ground station TX frequency will be dis-
played by PPRREEDDIICCTT.
Obviously, an accurate system clock and up-to-date orbital
data are required for the best tuning accuracy.
If a sound card is present on your machine and the Single
Satellite Tracking Mode is invoked with an uppercase 'TT'
rather than a lowercase 'tt', PPRREEDDIICCTT will make periodic
voice announcements stating the satellite's tracking coor-
dinates in real-time. Announcements such as:
_"_T_h_i_s _i_s _P_R_E_D_I_C_T_. _S_a_t_e_l_l_i_t_e _i_s _a_t _f_i_f_t_y _s_i_x _d_e_g_r_e_e_s
_a_z_i_m_u_t_h _a_n_d _f_o_r_t_y _f_i_v_e _d_e_g_r_e_e_s _e_l_e_v_a_t_i_o_n_, _a_n_d _i_s _a_p_p_r_o_a_c_h_-
_i_n_g_. _S_a_t_e_l_l_i_t_e _i_s _c_u_r_r_e_n_t_l_y _v_i_s_i_b_l_e_._"
are made at intervals that are a function of how quickly
the satellite is moving across the sky. Announcements can
occur as frequently as every 50 seconds for satellites in
low earth orbits such as the International Space Station
(370 km), or as infrequently as every 8 minutes for satel-
lites in very high orbits, such as the AMC-6 geostationary
satellite (35780 km). Voice announcements are performed as
background processes so as not to interfere with tracking
calculations as the announcements are made. Alarms and
special announcements are made when the satellite being
tracked enters into or out of eclipse. Regular announce-
ments can be forced by pressing the 'TT' key in Single
Satellite Tracking Mode.
MMUULLTTII--SSAATTEELLLLIITTEE TTRRAACCKKIINNGG MMOODDEE
Selecting [[MM]] from PPRREEDDIICCTT''ss main menu places the program
in a real-time multi-satellite tracking mode. In this
mode, all 24 satellites in the program's database are
tracked simultaneously along with the positions of the Sun
and Moon. Tracking data for the satellites is displayed in
two columns of 12 satellites each. The name, azimuth head-
ing, elevation, sub-satellite point latitude (in degrees
North) and longitude (in degrees West) positions are pro-
vided, along with the slant range distance between the
satellite and the ground station (in kilometers).
A letter displayed to the right of the slant range indi-
cates the satellite's sunlight and eclipse conditions. If
the satellite is experiencing an eclipse period, an NN is
displayed. If the satellite is in sunlight and the ground
station is under the cover of darkness, a VV is displayed
to indicate the possibility that the satellite is visible
under the current conditions. If the satellite is in sun-
light while conditions at the ground station do not allow
the satellite to be seen, a DD is displayed. Satellites in
range of the ground station are displayed in BBOOLLDD letter-
ing. The AOS dates and times for the next three satellites
predicted to come into range are displayed on the bottom
of the screen between the tracking coordinates of the Sun
and Moon. Predictions are not made for satellites in geo-
stationary orbits or for satellites so low in inclination
and/or altitude that they can never rise above the horizon
of the ground station.
SSOOLLAARR IILLLLUUMMIINNAATTIIOONN PPRREEDDIICCTTIIOONNSS
Selecting [[SS]] from PPRREEDDIICCTT''ss main menu will allow solar
illumination predictions to be made. These predictions
indicate how much sunlight a particular satellite will
receive in a 24 hour period. This information is espe-
cially valuable to spacecraft designers and satellite
ground station controllers who must monitor spacecraft
power budgets or thermal conditions on-board their space-
craft due to sunlight and eclipse periods. It can even be
used to predict the optimum times for astronauts to per-
form extra-vehicular activities in space. Solar illumina-
tion predictions may be logged to a file in the same man-
ner that orbital predictions may be logged (by pressing
LL).
SSOOLLAARR AANNDD LLUUNNAARR OORRBBIITTAALL PPRREEDDIICCTTIIOONNSS
In addition to making orbital predictions of spacecraft,
PPRREEDDIICCTT can also predict transits of the Sun and the
Moon. Lunar predictions are initiated by selecting [[LL]]
from PPRREEDDIICCTT's Main Menu. Solar predictions are selected
through Main Menu option [[OO]].
When making solar and lunar orbital predictions, PPRREEDDIICCTT
provides azimuth and elevation headings, the right ascen-
sion, declination, Greenwich Hour Angle (GHA), radial
velocity, and normalized distance (range) to the Sun or
Moon. Declination and Greenwich Hour Angle correspond to
the latitude and longitude of the object's sub-satellite
point above the Earth's surface. The radial velocity cor-
responds to the speed and direction the object is travel-
ing toward (+) or away (-) from the ground station, and is
expressed in meters per second. When the radial distance
of the Moon is close to zero, the amount of Doppler shift
experienced in Moonbounce communications is minimal. The
normalized distance corresponds to the object's actual
distance to the ground station divided its average
distance. In practice, the normalized distance can range
from about 0.945 to 1.055 for the Moon, and about 0.983 to
1.017 for the Sun.
Note that the effects of atmospherics are ignored in
determining the elevation angles for the Sun and Moon.
Furthermore, the data provided by PPRREEDDIICCTT corresponds to
the object's center, and not the upper or lower limb, as
is sometimes done when predicting the rising and setting
times of these celestial objects.
OOPPEERRAATTIIOONN UUNNDDEERR TTHHEE XX--WWIINNDDOOWW SSYYSSTTEEMM
PPRREEDDIICCTT may be run under the X-Window System by invoking
it through the _x_p_r_e_d_i_c_t script contained with this soft-
ware. _x_p_r_e_d_i_c_t can invoke _r_x_v_t, _x_t_e_r_m, _E_t_e_r_m, _g_n_o_m_e_-_t_e_r_m_i_-
_n_a_l, or _k_v_t, and display PPRREEDDIICCTT in a virtual terminal
window. _x_p_r_e_d_i_c_t should be edited for best results. In
many cases, holding down the SHIFT key while pressing the
plus (+) and minus (-) keys allows PPRREEDDIICCTT''ss window to be
re-sized when started under _x_p_r_e_d_i_c_t.
CCOOMMMMAANNDD LLIINNEE AARRGGUUMMEENNTTSS
By default, PPRREEDDIICCTT reads ground station location and
orbital data information from a pair of files located in
the user's home directory under a hidden subdirectory
named _._p_r_e_d_i_c_t. Ground station location information is
held in a file named _p_r_e_d_i_c_t_._q_t_h, while orbital data
information for 24 satellites is held in a file named _p_r_e_-
_d_i_c_t_._t_l_e.
If we wish to run PPRREEDDIICCTT using data from alternate
sources instead of these default files, the names of such
files may be passed to PPRREEDDIICCTT on the command line when
the program is started. For example, if we wish to read
the TLE file _v_i_s_u_a_l_._t_l_e and the QTH file _b_e_a_c_h___h_o_u_s_e_._q_t_h
rather than the default files, we could start PPRREEDDIICCTT and
pass the names of these alternate files to the program in
the following manner:
_p_r_e_d_i_c_t _-_t _v_i_s_u_a_l_._t_l_e _-_q _b_e_a_c_h___h_o_u_s_e_._q_t_h
or
_p_r_e_d_i_c_t _-_q _b_e_a_c_h___h_o_u_s_e_._q_t_h _-_t _v_i_s_u_a_l_._t_l_e
If the files specified are not located in the current
working directory, then their relative or absolute paths
should also be specified along with their names (_p_r_e_d_i_c_t
_-_t _/_h_o_m_e_/_k_d_2_b_d_/_o_r_b_s_/_v_i_s_u_a_l_._t_l_e).
It is also possible to specify only one alternate file
while using the default for the other. For example,
_p_r_e_d_i_c_t _-_t _v_i_s_u_a_l_._t_l_e
reads QTH information from the default _~_/_._p_r_e_d_i_c_t_/_p_r_e_-
_d_i_c_t_._q_t_h location, and TLE information from _v_i_s_u_a_l_._t_l_e,
while
_p_r_e_d_i_c_t _-_q _b_o_b_s_._q_t_h
reads QTH information from _b_o_b_s_._q_t_h and TLE information
from the default _~_/_._p_r_e_d_i_c_t_/_p_r_e_d_i_c_t_._t_l_e location.
QQUUIIEETT OORRBBIITTAALL DDAATTAABBAASSEE UUPPDDAATTEESS
It is also possible to update PPRREEDDIICCTT''ss satellite orbital
database using another command line option that updates
the database from a NASA two-line element data set. PPRREE--
DDIICCTT then quietly exits without displaying anything to the
screen, thereby eliminating the need for entering the pro-
gram and selecting the appropriate menu options. This
option is invoked using the _-_u command line switch as fol-
lows:
_p_r_e_d_i_c_t _-_u _o_r_b_s_2_4_8_._t_l_e
This example updates PPRREEDDIICCTT''ss default orbital database
with the Keplerian elements found in the file _o_r_b_s_2_4_8_._t_l_e.
PPRREEDDIICCTT may be updated from a list of files as well:
_p_r_e_d_i_c_t _-_u _a_m_a_t_e_u_r_._t_l_e _v_i_s_u_a_l_._t_l_e _w_e_a_t_h_e_r_._t_l_e
If an alternate datafile requires updating, it may also be
specified on the command line using the _-_t switch as fol-
lows:
_p_r_e_d_i_c_t _-_t _o_s_c_a_r_._t_l_e _-_u _a_m_a_t_e_u_r_._t_l_e
This example updates the _o_s_c_a_r_._t_l_e orbital database with
the two-line element data contained in _a_m_a_t_e_u_r_._t_l_e.
These options permit the automatic update of PPRREEDDIICCTT''ss
orbital data files using Keplerian orbital data obtained
through automatic means such as FTP, HTTP, or pacsat
satellite download.
For example, the following script can be used to update
PPRREEDDIICCTT''ss orbital database via the Internet:
#!/bin/sh
wget -qr www.celestrak.com/NORAD/elements/amateur.txt
-O amateur.txt
wget -qr www.celestrak.com/NORAD/elements/visual.txt -O
visual.txt
wget -qr www.celestrak.com/NORAD/elements/weather.txt
-O weather.txt
/usr/local/bin/predict -u amateur.txt visual.txt
weather.txt
To truly automate the process of updating your orbital
database, save the above commands to a file in your home
directory (such as _k_e_p_u_p_d_a_t_e), and add the following line
to your crontab (type _c_r_o_n_t_a_b _-_e to edit your crontab):
_0 _2 _* _* _* _k_e_p_u_p_d_a_t_e
and PPRREEDDIICCTT will automatically update its database every
day at 2:00 AM.
AAUUTTOOMMAATTIICC AANNTTEENNNNAA TTRRAACCKKIINNGG
PPRREEDDIICCTT is compatible with serial port antenna rotator
interfaces conforming to the EasyComm 2 protocol standard.
This includes the PIC/TRACK interface developed by Vicenzo
Mezzalira, IW3FOL <http://digilander.iol.it/iw3fol/pic-
track.html>, TAPR's EasyTrak Jr. (currently under devel-
opment), and Suding Associates Incorporated's Dish Con-
trollers <http://www.ultimatecharger.com/Dish_Con-
trollers.html>. The FODTRACK rotator interface is
supported through the use of Luc Langehegermann's (LX1GT)
ffooddttrraacckk utility written for and included with PPRREEDDIICCTT.
Using any of these hardware interfaces, PPRREEDDIICCTT can auto-
matically control the position of AZ/EL antenna rotators,
and keep antennas accurately pointed toward a satellite
being tracked by PPRREEDDIICCTT. In operation, tracking data
from PPRREEDDIICCTT is directed to the specified serial port
using the _-_a command line option. For example:
_p_r_e_d_i_c_t _-_a _/_d_e_v_/_t_t_y_S_0
will send AZ/EL tracking data to the first serial port
when the program is tracking a satellite in the Single
Satellite Tracking Mode. The data sent to the serial port
is of the form: _A_Z_2_4_1_._0 _E_L_2_6_._0 using 9600 baud, 8-data
bits, 1-stop bit, no parity, and no handshaking. Data is
sent to the interface if the azimuth or elevation headings
change by one degree or more. For interfaces requiring
keepalive updates at least once per second whether the
AZ/EL headings have changed or not (such as the ones by
SAI), the _-_a_1 option may be used:
_p_r_e_d_i_c_t _-_a_1 _/_d_e_v_/_t_t_y_S_0
AADDDDIITTIIOONNAALL OOPPTTIIOONNSS
The _-_f command-line option, when followed by a satellite
name or object number and starting date/time, allows PPRREE--
DDIICCTT to respond with satellite positional information.
This feature allows PPRREEDDIICCTT to be invoked within other
applications that need to determine the location of a
satellite at a particular point in time, such as the loca-
tion of where a CCD camera image was taken by a Pacsat
satellite based on its timestamp.
The information produced includes the date/time in Unix
format (the number of seconds since midnight UTC on Jan-
uary 1, 1970), the date/time in ASCII (UTC), the elevation
of the satellite in degrees, the azimuth heading of the
satellite, the orbital phase (modulo 256), the latitude
and longitude of the satellite's sub-satellite point at
the time specified, the slant range to the satellite in
kilometers with respect to the ground station's location,
the orbit number, and the spacecraft's sunlight visibility
information.
The date/time must be specified in Unix format (number of
seconds since midnight UTC on January 1, 1970). If no
starting or ending time is specified, the current
date/time is assumed and a single line of output is pro-
duced. If a starting and ending time are specified, a
list of coordinates beginning at the starting time/date
and ending with the ending time/date will be returned by
the program with a one second resolution. If the letter _m
is appended to the ending time/date, then the data
returned by the program will have a one minute resolution.
The _-_o option allows the program to write the calculated
data to an output file rather than directing it to the
standard output device if desired.
The proper syntax for this option is as follows:
_p_r_e_d_i_c_t _-_f _I_S_S _9_7_7_4_4_6_3_9_0 _9_7_7_4_4_6_4_0_0 _-_o _d_a_t_a_f_i_l_e
A list of coordinates starting at the current date/time
and ending 10 seconds later may be produced by the follow-
ing command:
_p_r_e_d_i_c_t _-_f _I_S_S _+_1_0
If a list of coordinates specifying the position of the
satellite every minute for the next 10 minutes is desired,
the following command may be used:
_p_r_e_d_i_c_t _-_f _I_S_S _+_1_0_m
If a satellite name contains spaces, then the entire name
must be enclosed by "quotes".
The _-_p option allows orbital predictions for a single pass
to be generated by PPRREEDDIICCTT via the command-line. For
example:
_p_r_e_d_i_c_t _-_p _O_S_C_A_R_-_1_1 _1_0_0_3_5_3_6_7_6_7
starts predictions for the OSCAR-11 satellite at a Unix
time of 1003536767 (Sat 20Oct01 00:12:47 UTC). If the
starting date/time is omitted, the current date/time is
used. If a pass is already in progress at the starting
date/time specified, orbital predictions are moved back to
the beginning of AOS of the current pass, and data for the
entire pass from AOS to LOS is provided.
When either the _-_f or _-_p options are used, PPRREEDDIICCTT pro-
duces an output consisting of the date/time in Unix for-
mat, the date and time in ASCII (UTC), the elevation of
the satellite in degrees, the azimuth of the satellite in
degrees, the orbital phase (modulo 256), the latitude (N)
and longitude (W) of the satellite's sub-satellite point,
the slant range to the satellite (in kilometers), the
orbit number, and the spacecraft's sunlight visibility
information. For example:
1003611710 Sat 20Oct01 21:01:50 11 6 164 51 72
1389 16669 *
The output isn't annotated, but then again, it's meant to
be read by other software.
SSEERRVVEERR MMOODDEE
PPRREEDDIICCTT''ss network socket interface allows the program to
operate as a server capable of providing tracking data and
other information to client applications using the UDP
protocol. It is even possible to have the PPRREEDDIICCTT server
and client applications running on separate machines pro-
vided the clients are connected to the server through a
functioning network connection.
The _-_s switch is used to start PPRREEDDIICCTT in server mode:
_p_r_e_d_i_c_t _-_s
By default, PPRREEDDIICCTT uses socket port 1210 for communicat-
ing with client applications. Therefore, the following
line needs to be added to the end your _/_e_t_c_/_s_e_r_v_i_c_e_s file:
_p_r_e_d_i_c_t _1_2_1_0_/_u_d_p
The port number (1210) can be changed to something else if
desired. There is no need to recompile the program if it
is changed. To run more than one instance of PPRREEDDIICCTT in
server mode on a single host, an alternate port must be
specified when invoking the additional instances of PPRREE--
DDIICCTT. This can be accomplished by using the _-_n switch:
_p_r_e_d_i_c_t _-_n _1_2_1_1 _-_t _o_t_h_e_r___t_l_e___f_i_l_e _-_s
When invoked in server mode, PPRREEDDIICCTT immediately enters
Multi-Satellite Tracking Mode, and makes live tracking
data available to clients. Clients may poll PPRREEDDIICCTT for
tracking data when the program is running in either the
Multi-Satellite or Single Satellite Tracking Mode. When
in Multi-Satellite Tracking mode, tracking data for any of
the 24 satellites in the program's database may be
accessed by client applications. When in Single-Satellite
Tracking mode, only live tracking data for the single
satellite being tracked may be accessed. Either tracking
mode may be ended at any time. When this is done, PPRREEDDIICCTT
will return the last calculated satellite tracking data
until the program is again put into a real-time tracking
mode. This allows the user to return to the main menu,
and use other features of the program without sending
potentially harmful data to client applications.
The best way to write a client application is to use the
demonstration program (demo.c) included in this distribu-
tion of PPRREEDDIICCTT as a guide. The sample program has com-
ments to explain how each component operates. It is use-
ful to pipe the output of this program through _l_e_s_s to
easily browse through the data returned (_d_e_m_o _| _l_e_s_s).
In operation, a character array is filled with the command
and arguments to be sent to PPRREEDDIICCTT. A socket connection
is then opened, the request is sent, a response is
received, and the socket connection is closed. The com-
mand and arguments are in ASCII text format.
Several excellent network client applications are included
in this release of PPRREEDDIICCTT, and may be found under the
_p_r_e_d_i_c_t_/_c_l_i_e_n_t_s directory.
AADDDDIINNGG SSAATTEELLLLIITTEESS
One of the most frequently asked questions is how satel-
lites in PPRREEDDIICCTT''ss orbital database may be added, modi-
fied, or replaced. As it turns out, there are several
ways in which this can be done. Probably the easiest is
to manually edit your _~_/_._p_r_e_d_i_c_t_/_p_r_e_d_i_c_t_._t_l_e file, and
replace an existing satellite's entry with 2-line Keple-
rian data for the new satellite. If this method is cho-
sen, however, just make sure to include ONLY the two line
data, and nothing else.
Another way is to is select the Keyboard Edit option from
the program's Main Menu, select a satellite you wish to
replace. Edit the name and object number (replacing the
old information with the new information). Just hit
ENTER, and accept all the other orbital parameters shown.
Get back to PPRREEDDIICCTT''ss Main Menu. Select Auto Update, and
then enter the filename containing the 2-line element data
for your favorite new satellite. The new satellite data
should be detected by PPRREEDDIICCTT, and the orbital data for
the old satellite will be overwritten by the new data.
NNEEAATT TTRRIICCKKSS
In addition to tracking and predicting passes of satel-
lites, PPRREEDDIICCTT may also be used to generate a NASA two-
line Keplerian element data set from data entered via key-
board. For example, let's say you're listening to Space
Shuttle audio re-broadcasts via WA3NAN and Keplerian ele-
ments for the Space Shuttle's orbit are given by the
announcer. The orbital data provided by WA3NAN in verbal
form may be manually entered into PPRREEDDIICCTT''ss orbital
database using option [[EE]] of the program's main menu (Key-
board Edit of Orbital Database). The orbital data for the
Space Shuttle in NASA two-line element form can then be
found in your orbital database file, and may imported to
any other satellite tracking program that accepts two-line
element files or distributed to others electronically.
It is also possible to run PPRREEDDIICCTT as a background process
and direct its display to an unused virtual console by
using the following command:
_p_r_e_d_i_c_t _< _/_d_e_v_/_t_t_y_8 _> _/_d_e_v_/_t_t_y_8 _&
Switching to virtual console number 8 (ALT-F8 in text
mode) will allow PPRREEDDIICCTT to be controlled and displayed
even after you've logged out. This is especially handy
when running PPRREEDDIICCTT in server mode on a remote machine.
GGLLOOSSSSAARRYY OOFF TTEERRMMSS
The following terms are frequently used in association
with satellite communications and space technology:
AAOOSS::
Acquisition of Signal - the time at which a ground station
first acquires radio signals from a satellite. PPRREEDDIICCTT
defines AOS as the time when the satellite being tracked
comes within +/- 0.03 degrees of the local horizon,
although it may have to rise higher than this before sig-
nals are first heard.
AAppooggeeee::
Point in a satellite's orbit when the satellite is at its
farthest distance from the earth's surface.
AAnnoommaalliissttiicc PPeerriioodd::
A satellite orbital parameter specifying the time between
successive perigees.
AAsscceennddiinngg NNooddee::
Point in a satellite's orbit when its sub-satellite point
crosses the equator moving south to north.
AAzziimmuutthh::
The compass direction measured clockwise from true north.
North = 0 degrees, East = 90 degrees, South = 180 degrees,
and West = 270 degrees.
DDeesscceennddiinngg NNooddee::
Point in a satellite's orbit when its sub-satellite point
crosses the equator moving north to south.
DDoopppplleerr SShhiifftt::
The motion of a satellite in its orbit around the earth,
and in many cases the rotational motion of the earth
itself, causes radio signals generated by satellites to be
received on Earth at frequencies slightly different than
those upon which they were transmitted. PPRREEDDIICCTT calculates
what effect these motions have upon the reception of
satellites transmitting on the 146 MHz and 435 MHz Amateur
Radio bands.
EElleevvaattiioonn::
The angle between the local horizon and the position of
the satellite. A satellite that appears directly above a
particular location is said to be located at an elevation
of 90 degrees. A satellite located on the horizon of a
particular location is said to be located at an elevation
of 0 degrees. A satellite with an elevation of less than
zero is positioned below the local horizon, and radio com-
munication with a satellite in such a position is not pos-
sible under normal circumstances.
FFoooottpprriinntt::
Diameter of the Earth's surface visible from a satellite.
The higher the satellite's orbital altitude, the greater
the footprint, and the wider the satellite's communica-
tions coverage.
LLOOSS::
Loss of Signal - the time at which a ground station loses
radio contact with a satellite. PPRREEDDIICCTT defines LOS as the
time when the satellite being tracked comes within +/-
0.03 degrees of the local horizon.
OOrrbbiittaall PPhhaassee::
An orbital "clock" that describes a satellite's orbital
position with respect to perigee. Orbital Phase may be
modulo 256, or modulo 360, and is sometimes referred to as
mean anomaly when speaking of amateur radio satellites in
elliptical orbits, such as the Phase 3 satellites.
Orbital phase is zero at perigee.
PPaatthh LLoossss::
The apparent attenuation a radio signal undergoes as it
travels a given distance. This attenuation is the result
of the dispersion radio waves experience as they propagate
between transmitter and receiver using antennas of finite
gain. Free space path loss is technically an oxymoron
since free space is loss free.
PPeerriiggeeee::
Point in a satellite's orbit when the satellite is at its
closest distance to the earth's surface.
NNooddaall PPeerriioodd::
A satellite orbital parameter specifying the time between
successive ascending nodes.
SSllaanntt RRaannggee::
The straight line distance between the ground station and
the satellite at a given time.
SSuubb--SSaatteelllliittee PPooiinntt::
The latitude and longitude specifying the location on the
Earth that is directly below the satellite.
AADDDDIITTIIOONNAALL IINNFFOORRMMAATTIIOONN
Detailed information on the operation of PPRREEDDIICCTT''ss UDP
socket-based interface as well as sample code for writing
your own client applications is available in the _p_r_e_-
_d_i_c_t_/_c_l_i_e_n_t_s_/_s_a_m_p_l_e_s subdirectory. The latest news is
available through the official PPRREEDDIICCTT software web page
located at: <http://www.qsl.net/kd2bd/predict.html>.
FFIILLEESS
~/.predict/predict.tle
Default database of orbital data
~/.predict/predict.db
Satellite transponder database file
~/.predict/predict.qth
Default ground station location information
AAUUTTHHOORRSS
PPRREEDDIICCTT was written by John A. Magliacane, KD2BD
<kd2bd@amsat.org>. The socket server code was contributed
by Ivan Galysh, KD4HBO <galysh@juno.nrl.navy.mil>. The
PIC/TRACK serial port antenna rotator controller code was
contributed by Vittorio Benvenuti, I3VFJ <ben-
scosm@iol.it>. SGP4/SDP4 code was derived from Pacsal
routines written by Dr. T.S. Kelso, and converted to 'C'
by Neoklis Kyriazis, 5B4AZ. See the CREDITS file for
additional information.
KD2BD Software 15 May 2006 PREDICT(1)
|