| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>Tool: SATUPDAT</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY BACKGROUND="/back_fbb.jpg"> |
| 6 |
<P> |
| 7 |
<IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32"> |
| 8 |
<H1 ALIGN=Center> |
| 9 |
SATUPDAT.EXE |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE> |
| 13 |
SATUPDAT.EXE will read messages from AMSAT copied via packet radio. This is |
| 14 |
the english version of AJOURSAT.EXE. This software was developed by F6BVP. |
| 15 |
|
| 16 |
It extracts keplerian elements both in NASA and AMSAT formats and updates |
| 17 |
the results into the satellites data base of the F6FBB's BBS <A HREF="fmtsatel.htm">(SATEL.DAT)</A> |
| 18 |
|
| 19 |
Loading SATUPDAT without arguments will print the following message on your |
| 20 |
screen (between lines -----): |
| 21 |
|
| 22 |
------------------------------------------------------------------ |
| 23 |
Automatic update of satellites orbital parameters for F6FBB's bbs Version |
| 24 |
1.77e - June 1991 - Bernard Pidoux, F6BVP |
| 25 |
|
| 26 |
Usage: SATUPDAT [file name<.txt>] </option> </option> |
| 27 |
|
| 28 |
Reading option: |
| 29 |
/a AMSAT format (default) |
| 30 |
/n NASA format |
| 31 |
|
| 32 |
Update option: |
| 33 |
/f merging new and old data (default) |
| 34 |
/u update only satellites present in the |
| 35 |
|
| 36 |
data base |
| 37 |
/s keep only satellites present in the input file |
| 38 |
|
| 39 |
<<767 satellites maximum>> |
| 40 |
------------------------------------------------------------------ |
| 41 |
|
| 42 |
This version 1.77e verifies checksum both for AMSAT files and NASA files. |
| 43 |
For automatic update of keplerian elements into F6FBB's bbs just create a |
| 44 |
virtual BBS into BBS.SYS file. Its name could be AMSAT for example. |
| 45 |
|
| 46 |
Then declare the following forward in the file FORWARD.SYS : |
| 47 |
|
| 48 |
A AMSAT |
| 49 |
* |
| 50 |
G AMSAT |
| 51 |
P @ |
| 52 |
C C:\FBB\SYSTEM\SAT\AMSAT.TXT |
| 53 |
* |
| 54 |
------ |
| 55 |
|
| 56 |
CAUTION: The name of the disk unit and the path name should be the exact one |
| 57 |
of your configuration. |
| 58 |
|
| 59 |
In order to run automatically SATUPDAT when your computer boots, you must |
| 60 |
modify the batch file like the following example: |
| 61 |
|
| 62 |
<FONT COLOR="#ff0000">In WinFBB (file RUNFBB.BAT):</FONT> |
| 63 |
|
| 64 |
maint ********************** START of MAINT script ************************** |
| 65 |
cd %fbb% |
| 66 |
@echo off |
| 67 |
cd %fbb%\system\sat |
| 68 |
if not exist amsat.txt goto amsatend |
| 69 |
satupdat amsat.txt /n > satupdat.res |
| 70 |
satupdat amsat.txt >> satupdat.res |
| 71 |
del amsat.txt |
| 72 |
:amsatend |
| 73 |
cls |
| 74 |
echo |
| 75 |
cd %fbb% |
| 76 |
|
| 77 |
<FONT COLOR="#ff0000">In LinFBB :</FONT>(There is no SATUPDAT for LinFBB yet..) |
| 78 |
|
| 79 |
<FONT COLOR="#ff0000">In DosFBB (file APPEL.BAT):</FONT> |
| 80 |
:direct |
| 81 |
if not exist c:\fbb\system\sat\amsat.txt goto appel |
| 82 |
cd \fbb\system\sat |
| 83 |
satupdat amsat /n > satupdat.res |
| 84 |
satupdat amsat >> satupdat.res |
| 85 |
del amsat.txt |
| 86 |
cd \fbb |
| 87 |
:appel |
| 88 |
echo Running the BBS ^C for stopping |
| 89 |
sleep 3 |
| 90 |
serv -t |
| 91 |
if errorlevel 2 goto direct |
| 92 |
if errorlevel 1 goto suite |
| 93 |
:suite |
| 94 |
|
| 95 |
(Once again be careful with the disk name and directories !) |
| 96 |
|
| 97 |
<BIG><B> SATUPDAT OPTIONS</B></BIG>: |
| 98 |
|
| 99 |
The default extension for input file is .TXT, however you can specify |
| 100 |
another extension. |
| 101 |
|
| 102 |
Both arguments after the filename in the command line are optional: the |
| 103 |
first one indicates the reading format, either the AMSAT format or the NASA |
| 104 |
"2-line" format. The first one is selected by default. |
| 105 |
|
| 106 |
The second option is for the choice of update mode. By default the program |
| 107 |
will merge the old list with the new one (same if you select option /f). Old |
| 108 |
data of satellites which are not present in the input file are kept as is and |
| 109 |
the other one are updated. |
| 110 |
|
| 111 |
Option /u can be selected if you don't want to add new satellites to the one |
| 112 |
already present. Only keplerian elements from known satellites are updated. |
| 113 |
This prevents the list to grow with incoming satellites that you are not |
| 114 |
eventually interested in. |
| 115 |
|
| 116 |
Option /s, on the contrary, gives you the possibility to keep only in the |
| 117 |
data base the data from the satellites whose name is in the input file. |
| 118 |
|
| 119 |
This can help you to suppress old satellites from the data base. |
| 120 |
|
| 121 |
In all cases the program takes care of the permanent data of satellites such |
| 122 |
as the frequency (for doppler) and the step for computing the tracking (you |
| 123 |
must provide both manually only the first time). |
| 124 |
|
| 125 |
If the keplerian elements of the input file are older than the one already |
| 126 |
present in the BBS data base, the old one are kept. |
| 127 |
|
| 128 |
The list is sorted by name in order to help the finding of the satellite |
| 129 |
name when someone is connected to the BBS. |
| 130 |
|
| 131 |
If elements for one satellite are duplicated in the input file, the program |
| 132 |
will look again for the newest data. |
| 133 |
|
| 134 |
Of course, if CRC computed by the program is not the same as the one in the |
| 135 |
input file, the program informs you that the CRC is BAD and it does not take |
| 136 |
the keplerian elements. |
| 137 |
|
| 138 |
In the batch file example given above you have certainly noticed that I call |
| 139 |
twice the program SATUPDAT with two different format arguments. The first |
| 140 |
time I ask the program to read the NASA format and the second time to read |
| 141 |
the default format AMSAT. The reason is that the probability for an error to |
| 142 |
occur in both formats for the same satellite is very small. Thus if an error |
| 143 |
occurs in one format the program will complete the update when he will found |
| 144 |
unaffected keplerian elements in the other format. Thanks to the recently |
| 145 |
adopted checksum by AMSAT! |
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 150 |
|
| 151 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 152 |
|
| 153 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 154 |
|
| 155 |
</PRE> |
| 156 |
</BODY></HTML> |