| 1 |
|
| 2 |
Documentation for SATUPDAT / AJOURSAT |
| 3 |
by Bernard Pidoux, F6BVP |
| 4 |
DOS version created October 16, 1989 |
| 5 |
ported to Linux by Jean-Paul F6FBB |
| 6 |
|
| 7 |
|
| 8 |
satupdat program will read messages from AMSAT copied via packet radio. |
| 9 |
It extracts keplerian elements both in NASA and AMSAT formats and updates |
| 10 |
the data into the satellites data base of the F6FBB's BBS file that should |
| 11 |
be in the directory fbb/system/sat/satel.dat |
| 12 |
|
| 13 |
satupdat program must be put in the fbb/bin directory, together with binaries. |
| 14 |
|
| 15 |
Running satupdat without arguments will print the following message on |
| 16 |
your screen (between lines -----): |
| 17 |
|
| 18 |
----------------------------------------------------------------------- |
| 19 |
Automatic update of satellites orbital parameters for F6FBB's bbs |
| 20 |
Version 1.83e - November 1994 - Bernard Pidoux, F6BVP |
| 21 |
Linux version - April 1997 - Jean-Paul ROUBELAT F6FBB |
| 22 |
Usage: satupdat [file name<.txt>] </option> </option> </option> |
| 23 |
|
| 24 |
Reading option: /a AMSAT format (default) |
| 25 |
/n NASA format |
| 26 |
Update option: /f merging new and old data (default) |
| 27 |
/u update only satellites being in the data base |
| 28 |
/s keep only satellites being in the input file |
| 29 |
Delete option: /dxxx delete data older than xxx days |
| 30 |
(default xxx=100 days) |
| 31 |
|
| 32 |
<<769 satellites maximum>> |
| 33 |
----------------------------------------------------------------------- |
| 34 |
|
| 35 |
Version 1.82 October 1994 |
| 36 |
========================= |
| 37 |
This version replaces earlier versions to be compatible with REQKEP, a new |
| 38 |
satellite KEPlerian elements REQuest service for F6FBB BBS. A few minor bugs |
| 39 |
have been fixed and the number of satellites that can be managed by the |
| 40 |
program was increased to 768. |
| 41 |
|
| 42 |
Version 1.80 November 1993 |
| 43 |
========================== |
| 44 |
This new version incorporates a new feature that deletes automatiquely from |
| 45 |
the satellites data base, keplerian parameters older than a specified number |
| 46 |
of days. Default is 100 days. This cleans the data base, removing decayed |
| 47 |
satellites without sysop intervention. |
| 48 |
|
| 49 |
Both AMSAT and NASA format checksum are verified, providing uncorrupted data |
| 50 |
feeding of the BBS data base. |
| 51 |
|
| 52 |
SYSOP information: |
| 53 |
For automatic update of keplerian elements into F6FBB's bbs, just create |
| 54 |
a virtual BBS into bbs.sys file. Its name could be AMSAT for example. |
| 55 |
|
| 56 |
30 F5NUF |
| 57 |
31 F5JAD |
| 58 |
32 |
| 59 |
33 AMSAT <- Modify a free entry of bbs.sys to add AMSAT |
| 60 |
34 |
| 61 |
35 |
| 62 |
36 |
| 63 |
37 |
| 64 |
|
| 65 |
Then declare the following forward in the file forward.sys : |
| 66 |
|
| 67 |
------ |
| 68 |
* |
| 69 |
A AMSAT |
| 70 |
* |
| 71 |
G AMSAT |
| 72 |
P @ |
| 73 |
* |
| 74 |
* Adjust the next line depending of the xfbb root directory |
| 75 |
* |
| 76 |
C /fbb/system/sat/amsat.txt |
| 77 |
* |
| 78 |
------ |
| 79 |
|
| 80 |
CAUTION: The path name should be the exact one of your configuration. |
| 81 |
|
| 82 |
In order to run automatically satupdat when xfbb makes its maintenance, |
| 83 |
you must modify the xfbb.sh batch file like the following example: |
| 84 |
|
| 85 |
maintenance() |
| 86 |
{ |
| 87 |
echo "Running maintenance" |
| 88 |
sleep 2 |
| 89 |
epurmess |
| 90 |
epurwp 40 90 |
| 91 |
# Added lines for satupdat |
| 92 |
if [ -f $XFBBDIR/system/sat/amsat.txt ] |
| 93 |
then |
| 94 |
cd $XFBBDIR/system/sat |
| 95 |
satupdat amsat /n > satupdat.res |
| 96 |
satupdat amsat >> satupdat.res |
| 97 |
rm amsat.txt |
| 98 |
cd $XFBBDIR |
| 99 |
fi |
| 100 |
} |
| 101 |
|
| 102 |
SATUPDAT OPTIONS |
| 103 |
================ |
| 104 |
|
| 105 |
The default extention for input file is .txt, however you can specify |
| 106 |
another extention. |
| 107 |
|
| 108 |
Both arguments after the filename in the command line are optional: |
| 109 |
the first one indicates the reading format, either the AMSAT format |
| 110 |
or the NASA "2-line" format. The first one is selected by default. |
| 111 |
|
| 112 |
The second option is for the choice of update mode. |
| 113 |
|
| 114 |
By default the program will merge the old list with the new one (same |
| 115 |
if you select option /f). Old data of satellites which are not present in |
| 116 |
the input file are kept as is and the other ones are updated. |
| 117 |
|
| 118 |
Option /u can be selected if you dont want to add new satellites to the ones |
| 119 |
already present. Only keplerian elements from known satellites are updated. |
| 120 |
This prevents the list to grow with incoming satellites that you are not |
| 121 |
eventually interested in. |
| 122 |
|
| 123 |
Option /s, on the contrary, gives you the possibility to keep only in the |
| 124 |
data base the data from the satellites whose name is in the input file. |
| 125 |
This can help you to suppress old satellites from the data base. |
| 126 |
|
| 127 |
Option /d is optionnal. Default is 100 days. This means that the program |
| 128 |
will remove data older than 100 days from the satellite data base, and |
| 129 |
will not take into account keplerian elements older than 100 days from |
| 130 |
the input file. |
| 131 |
|
| 132 |
In all cases the program takes care of the permanent data of satellites |
| 133 |
such as the frequency (for doppler) and the step for computing the |
| 134 |
tracking (the SYSOP must provide both manually only the first time). |
| 135 |
|
| 136 |
If the keplerian elements of the input file are older than the ones already |
| 137 |
present in the BBS data base, the old ones are kept. |
| 138 |
|
| 139 |
The list is sorted by name in order to help finding of the satellite |
| 140 |
name when someone is connected to the BBS. |
| 141 |
|
| 142 |
If elements for one satellite are duplicated in the input file, the program |
| 143 |
will look again for the newest data. |
| 144 |
|
| 145 |
Of course, if CRC computed by the program is not the same as the one in the |
| 146 |
input file, the program informs you that the CRC is BAD and it does not take |
| 147 |
the keplerian elements. |
| 148 |
|
| 149 |
In the batch file example given above you have certainly noticed that I call |
| 150 |
twice the program satupdat with two different format arguments. The first |
| 151 |
time I ask the program to read the NASA format and the second time to read |
| 152 |
the default format AMSAT. The reason is that the probability for an error |
| 153 |
to occure in both formats for the same satellite is very small. Thus if an |
| 154 |
error occurs in one format the program will complete the update when it founds |
| 155 |
uncorrupted keplerian elements in the other format. Thanks to the checksum |
| 156 |
adopted by AMSAT! The results of the update operation is written into the |
| 157 |
satupdat.res file. |
| 158 |
|
| 159 |
All remarks and suggestions will be appreciated by F6BVP. |
| 160 |
|
| 161 |
73's de Bernard, |
| 162 |
F6BVP @F6BVP.FRPA.FRA.EU |
| 163 |
[email protected] |
| 164 |
http://f6bvp.free.fr |
| 165 |
|