| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>FORMAT of SATEL.DAT</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 |
SATEL.DAT |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE> |
| 13 |
<BIG><B>SATEL.DAT file (\FBB\SYSTEM\SAT).</B></BIG> |
| 14 |
|
| 15 |
This binary file holds the information on the satellite data base of the |
| 16 |
BBS. This file is very important and must not be edited or changed otherwise |
| 17 |
the list of the satellites could be lost. This file can only be opened for |
| 18 |
reading. |
| 19 |
|
| 20 |
It is organized with records, each record containing information on a |
| 21 |
satellite. Never modify this file while the BBS is running. |
| 22 |
|
| 23 |
Structure of one record (C language) : |
| 24 |
|
| 25 |
typedef struct { |
| 26 |
|
| 27 |
char sat_name[18]; /* 18 Name of the satellite */ |
| 28 |
int year ; /* 2 Year of reference */ |
| 29 |
double day ; /* 8 Day of reference */ |
| 30 |
int month ; /* 2 Month of reference */ |
| 31 |
int hour ; /* 2 Hour of reference */ |
| 32 |
int minute ; /* 2 Minute of reference */ |
| 33 |
int second ; /* 2 Second of reference */ |
| 34 |
double inclination ; /* 8 Inclination */ |
| 35 |
double raan ; /* 8 R.A.A.N. */ |
| 36 |
double excentricity; /* 8 Excentricity */ |
| 37 |
double a_perigee ; /* 8 Argument of perigee */ |
| 38 |
double mean_anomaly; /* 8 Mean anomaly */ |
| 39 |
double a ; /* 8 must be 0.0 */ |
| 40 |
double mean_motion ; /* 8 mean motion */ |
| 41 |
double dec_rate ; /* 8 Decay rate */ |
| 42 |
long revolution ; /* 4 Epoch revolution */ |
| 43 |
double frequency ; /* 8 Frequency for doppler computing */ |
| 44 |
double v ; /* 8 must be 0.0 */ |
| 45 |
int step ; /* 2 Step of processing (minutes) */ |
| 46 |
long last_upd ; /* 4 Date of last update */ |
| 47 |
long catalog ; /* 4 NASA Catalog Number */ |
| 48 |
int free[4] ; /* 8 Unused */ |
| 49 |
|
| 50 |
} satel ; /* 138 bytes : lenght of one record */ |
| 51 |
|
| 52 |
In C language, all strings are ended with a NULL (00 hex) character. |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 58 |
|
| 59 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 60 |
|
| 61 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 62 |
|
| 63 |
</PRE> |
| 64 |
</BODY></HTML> |