home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Ham Radio 1997
/
WOHR97_AmSoft_(1997-02-01).iso
/
sat
/
sat_16
/
amsoft.iii
next >
Wrap
Text File
|
1997-02-01
|
4KB
|
95 lines
┌────────────────────────────────────────────┐
│ SORTNENG - NASA 2-Lines filtering/checking │ IT9XXS Giovanni Mazzola
└────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────
FREEWARE: You are free to copy and pass this program to a friend.
This is the SEVENTH release of SORTNENG, dated 8 November 1995.
Please upgrade to this new one because it introduces a big change.
─────────────────────────────────────────────────────────────────────────
!! Notice to previous users !!
This edition was re-written using TurboPascal 6.0.
If you find any bug, please let me know.
The limit of maximum-256-satellites is now removed.
Please note that, now on, you don't need to redirect the output
to a log-file to have a list of the NASA keps found: such file,
SN.LOG, is automatically generated. See below.
─────────────────────────────────────────────────────────────────────────
I've written this program to automatically extract all or part of the
NASA keps coming weekly from Internet or other sources.
More, this program checks the integrity of the keps calculating their
line-checksum and comparing it against the last number reported in each
line of data, after checking that the first and the second data-line
are part of the same satellite. Any unuseful data or corrupted element
will be discarded.
Fatal file-i/o errors will stop the program and return ErrorLevel 1,
otherwise 0, so you can use SORTNENG with your batch files.
You can invoke the program in two different ways:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┌─ extracting, checking and sorting (by Object Number) *all* elements ─┐
│ syntax: SORTNENG input_file output_file │
└──────────────────────────────────────────────────────────────────────┘
or
┌─ extracting and checking only selected satellite elements ──┐
│ syntax: SORTNENG input_file output_file wanted_sat_names │ Same
└─────────────────────────────────────────────────────────────┘ order
^ ^ │
where: └───────────┴──────────────────┘
input_file is a text file where the keps are mixed with lots of messages,
and even AMSAT element sets (IGNORED);
output_file is a text file, generated by this program, which will contain
the elements extracted from the "input_file".
Be careful: if existing, this file will be re-written without
asking !
wanted_sat_ is the name of an optional text file which holds the satellite
CATALOG NUMBERS of the keps to be extracted from the "input_file".
In this case the program does NOT sort the elements, but just
writes them in the same order as the catalog numbers are written
inside the "wanted_sat_names" file.
This is useful if you need only certain satellites and want them
to be written in a precise order (e.g. by number, like UO-22,
KO-23, KO-25, and so on).
A log-file, SN.LOG, is automatically generated by the program:
it holds all the Object Numbers of the valid satellites found.
After using Sortneng the very first time, you could edit SN.LOG,
keep the satellite catalog numbers you need, discard the rest
and rename the file as you want (because next time SN.LOG will
be rewritten !).
Input, output and reference filenames must be different, or the program will
halt and warn you.
I hope you'll find this program useful.
Please send me a message with your suggestions to my Internet address:
┌───────────────────┐
│ mc3626@mclink.it │
└───────────────────┘
This program is FREEWARE. No money is needed.
I'll feel not responsible for any loss of data due to my program.
Please take care of your valuable programs and data.
Release: 8/XI/95.
------------------------------------------------------------------------------
/ it9xxs - giovanni mazzola amsat-uk 5502
/. ///.//////./ internet mc3626@mclink.it
/ // tcp-ip 44.134.112.62
------------------------------------------------------------------------------