[Gpredict-svn] SF.net SVN: gpredict:[437] trunk/data/satdata/scripts/update.py
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <cs...@us...> - 2009-09-26 10:54:16
|
Revision: 437 http://gpredict.svn.sourceforge.net/gpredict/?rev=437&view=rev Author: csete Date: 2009-09-26 10:54:02 +0000 (Sat, 26 Sep 2009) Log Message: ----------- Added script that will contain code to update TLE data in repository. Added Paths: ----------- trunk/data/satdata/scripts/update.py Added: trunk/data/satdata/scripts/update.py =================================================================== --- trunk/data/satdata/scripts/update.py (rev 0) +++ trunk/data/satdata/scripts/update.py 2009-09-26 10:54:02 UTC (rev 437) @@ -0,0 +1,15 @@ +#!/usr/bin/python +# +# This Pythion script is used to update the satellite data in the repository +# with fresh data from CelesTrak. +# +# The script is not needed by end users. +# +# First, the script fetches the TLE data (.txt files) from CelesTrak. +# Then it loads the existing satellites.dat file into memory and replaces +# the TLE1 and TLE2 lines. At the same time, the contents of the .cat files +# are updated by adding new satellites to the .cat files. Satellites are +# not removed from the .cat files, since they could be added by user. The +# tle-new.cat is different: This file will simply contain the same satellites +# as the fresh tle-new.txt file. +# Property changes on: trunk/data/satdata/scripts/update.py ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |