Limitations on URLLIB Read for TLE
jordanlui opened this issue · comments
Hi there,
Noticed that the tlefile.read will only check two NORAD TLE URLs from Celestrak. Was wondering if you could add the other Celestrak URLs, such as https://www.celestrak.com/NORAD/elements/cubesat.txt?
Thanks!
Hi,
Sure, that would be very nice ! I can't really work on this atm, but contributions are welcome :)
Perfect ! Thanks !
Dear all, would it be possible to manually read TLE from a text file? Celestrak URLs are very limiting...
I tried to add other URLs in the tlefile.py (l.37) but it does not seem to work. Could you please give a hand or give me some pointers how to add new TLE files?
TLE_URLS = ('http://celestrak.com/NORAD/elements/weather.txt',
'http://celestrak.com/NORAD/elements/resource.txt',
'https://www.celestrak.com/NORAD/elements/cubesat.txt',
'http://celestrak.com/NORAD/elements/stations.txt',
'https://www.celestrak.com/NORAD/elements/sarsat.txt',
'https://www.celestrak.com/NORAD/elements/noaa.txt',
'https://www.celestrak.com/NORAD/elements/amateur.txt')
Thanks!
Slawosz
I use like this:
TLES=/data/pytroll/tle-in/tle_db/tle-latest.txt <pytroll command which need tles>
So TLES
is a environmental variable.
Hi! Would it be possible to add 'https://www.celestrak.com/NORAD/elements/engineering.txt'
to the list of TLEs?
i.e.:
--- tlefile.py 2019-06-21 18:22:22.000000000 -0300
+++ tlefile.py 2019-06-21 18:22:42.000000000 -0300
@@ -40,8 +40,9 @@
'http://celestrak.com/NORAD/elements/stations.txt',
'https://www.celestrak.com/NORAD/elements/sarsat.txt',
'https://www.celestrak.com/NORAD/elements/noaa.txt',
- 'https://www.celestrak.com/NORAD/elements/amateur.txt')
-
+ 'https://www.celestrak.com/NORAD/elements/amateur.txt',
+ 'https://www.celestrak.com/NORAD/elements/engineering.txt')
+
LOGGER = logging.getLogger(__name__)
PKG_CONFIG_DIR = os.path.join(os.path.realpath(os.path.dirname(__file__)), 'etc')
I don't see why not, PR welcome !