Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitations on URLLIB Read for TLE #15

Closed
jordanlui opened this issue Aug 31, 2017 · 7 comments · Fixed by #45
Closed

Limitations on URLLIB Read for TLE #15

jordanlui opened this issue Aug 31, 2017 · 7 comments · Fixed by #45

Comments

@jordanlui
Copy link
Contributor

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!

@mraspaud
Copy link
Member

mraspaud commented Sep 1, 2017

Hi,

Sure, that would be very nice ! I can't really work on this atm, but contributions are welcome :)

@jordanlui
Copy link
Contributor Author

jordanlui commented Sep 1, 2017 via email

@mraspaud
Copy link
Member

mraspaud commented Sep 6, 2017

Perfect ! Thanks !

@mraspaud mraspaud closed this as completed Sep 6, 2017
@slawoszuznanski
Copy link

slawoszuznanski commented Feb 20, 2019

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

@TAlonglong
Copy link

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.

@clausqr
Copy link
Contributor

clausqr commented Jun 21, 2019

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')

@mraspaud
Copy link
Member

I don't see why not, PR welcome !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants