TLE distiller / generator
Hi all! What tools are available to work with TLE files? I'm looking for a tool that takes multiple files with TLE sets in them, and outputs at least one file with a custom set of TLE's. Norm n3ykf
Norm,
There are some programs to sort and filter Keps here:
http://www.amsat.org/amsat-new/tools/softwareArchive.php
Over time, as version of Windows have changed, they have stopped working on at least some of my machines. For instance, SORTNENG will not work on my WIN7 machine with an AMD chipset, but works on my other WIN7 machine with an Intel chipset.
I have a batch file which does a lot of filtering and copying to different directories. To accomplish a merge and sort, I merge with a simple:
COPY AMATEUR.TXT+TLE.TXT+CUBESAT.TXT KEP.NEW
Than I sort them using a technique which Paul, KB5MU suggested, using GREP. If you don't have it on your computer, there are lots of free versions.
GREP -A 2 AO-07 KEP.NEW > %1 GREP -A 2 AO-16 KEP.NEW >> %1 GREP -A 2 AO-27 KEP.NEW >> %1 GREP -A 2 FO-29 KEP.NEW >> %1 etc erc
The %1 is a file name which I pass to the batch file, but you could easily hard code it. You MAY have a problem with some tracking programs if the same satellite appears in more than one list.
73s,
Alan WA4SCA
<-----Original Message----- <From: amsat-bb-bounces@amsat.org <[mailto:amsat-bb-bounces@amsat.org] On Behalf Of Lizeth Norman <Sent: Monday, January 27, 2014 3:14 AM <To: <,amsat-bb@amsat.org>, <Subject: [amsat-bb] TLE distiller / generator < <Hi all! <What tools are available to work with TLE files? I'm looking for a tool <that takes multiple files with TLE sets in them, and outputs <at least one <file with a custom set of TLE's. <Norm n3ykf <_______________________________________________ <Sent via AMSAT-BB@amsat.org. Opinions expressed are those of <the author. <Not an AMSAT-NA member? Join now to support the amateur <satellite program! <Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb <
On Mon, Jan 27, 2014 at 06:25:49AM -0600, Alan wrote:
Norm,
There are some programs to sort and filter Keps here:
http://www.amsat.org/amsat-new/tools/softwareArchive.php
Over time, as version of Windows have changed, they have stopped working on at least some of my machines. For instance, SORTNENG will not work on my WIN7 machine with an AMD chipset, but works on my other WIN7 machine with an Intel chipset.
Sounds like the sort of thing that could be easily written in something like Python that will work across all platforms.
If it uses Windows or other proprietary software, it's not really amateur radio.
Norm,
How would you like the "custom set" of TLEs filtered? Give me a detailed description.
Joseph Armbruster
On Mon, Jan 27, 2014 at 4:14 AM, Lizeth Norman normanlizeth@gmail.comwrote:
Hi all! What tools are available to work with TLE files? I'm looking for a tool that takes multiple files with TLE sets in them, and outputs at least one file with a custom set of TLE's. Norm n3ykf _______________________________________________ Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb
Gordon,
Most of these programs date back to the DOS and OS/2 days. At one point I started on a Python program which would:
Read and clean multiple Kep files. Remove duplicates, selecting the most recent. Rename objects to the AMSAT standard names. Sort the order of the objects. Write a file with only selected objects.
I think I got half of the first line done before moving on to another, more urgent project. :) On my To Do list after I retire, for the 4th time.
73s,
Alan WA4SCA
<-----Original Message----- <From: amsat-bb-bounces@amsat.org <[mailto:amsat-bb-bounces@amsat.org] On Behalf Of Gordon JC Pearce <Sent: Monday, January 27, 2014 6:53 AM <To: amsat-bb@amsat.org <Subject: [amsat-bb] Re: TLE distiller / generator < <On Mon, Jan 27, 2014 at 06:25:49AM -0600, Alan wrote: <> Norm, <> <> There are some programs to sort and filter Keps here: <> <> http://www.amsat.org/amsat-new/tools/softwareArchive.php <> <> Over time, as version of Windows have changed, they have <stopped working on at least some of my <> machines. For instance, SORTNENG will not work on my WIN7 <machine with an AMD chipset, but works on <> my other WIN7 machine with an Intel chipset. < <Sounds like the sort of thing that could be easily written in <something like Python that will work across all platforms. < <If it uses Windows or other proprietary software, it's not <really amateur radio. < <-- <Gordonjcp MM0YEQ < <_______________________________________________ <Sent via AMSAT-BB@amsat.org. Opinions expressed are those of <the author. <Not an AMSAT-NA member? Join now to support the amateur <satellite program! <Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb <
On Mon, Jan 27, 2014 at 08:59:25AM -0600, Alan wrote:
I think I got half of the first line done before moving on to another, more urgent project. :) On my To Do list after I retire, for the 4th time.
I made a letter spike for storing the bits of paper with ideas for things, so that I could stack them and do them once the important stuff that pushed them aside was done.
However, I live on the flight path of downwind leg for runway 23 at Glasgow International, and the CAA made me put a light on the top.
Lizeth,
Let me know if this will do: https://code.google.com/p/tle-aggregator/
Joseph Armbruster
On Mon, Jan 27, 2014 at 4:14 AM, Lizeth Norman normanlizeth@gmail.comwrote:
Hi all! What tools are available to work with TLE files? I'm looking for a tool that takes multiple files with TLE sets in them, and outputs at least one file with a custom set of TLE's. Norm n3ykf _______________________________________________ Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb
participants (4)
-
Alan
-
Gordon JC Pearce
-
Joseph Armbruster
-
Lizeth Norman