summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdSatellite.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-15 12:27:51 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-15 12:27:51 +0000
commitd0dd1b88829f8ff716f2c2683f9aa96827454b67 (patch)
tree596f66d62ecd51fa2f6114e2378020bd27f84a91 /tools/mmd/MmdSatellite.py
parent- implemented downloading and parsing TLEs from http://www.celestrak.com/NORA... (diff)
- created a credtis page
git-svn-id: https://svn.spreadspace.org/mur.sat@141 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/MmdSatellite.py')
-rw-r--r--tools/mmd/MmdSatellite.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/mmd/MmdSatellite.py b/tools/mmd/MmdSatellite.py
index 97f516a..9e9a041 100644
--- a/tools/mmd/MmdSatellite.py
+++ b/tools/mmd/MmdSatellite.py
@@ -152,6 +152,11 @@ class Satellite:
return False
def _compareAndLinkNewTLEFile (self, filename):
+ '''
+ we should use field 21-32 from first line of TLE to
+ compare data; then use this date to generate a filename
+ and update the database;
+ '''
old_data = open (self.tle_filename).read ()
new_data = open (filename).read ()
if old_data == new_data: