The URIs hardcoded in pyorbital should be up-to-date. The URI results in HTTP Code 301. There is a risk the URI may stop working at some point.
Expected Output
TLE-file.
Actual Result, Traceback if applicable
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://celestrak.org/NORAD/elements/weather.txt">here</a></body><head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://celestrak.org/NORAD/elements/resource.txt">here</a></body>
Versions of Python, package at hand and relevant dependencies
The URIs hardcoded in
tlefile.py
are out of date. They all point tocelestrak.com
. This should becelestrak.org
:https://github.com/pytroll/pyorbital/blob/6c40a8c13a26fc4ad7fe6d3d9bf1856183291c51/pyorbital/tlefile.py#L41-L49
Code Sample, a minimal, complete, and verifiable piece of code
Problem description
The URIs hardcoded in pyorbital should be up-to-date. The URI results in HTTP Code 301. There is a risk the URI may stop working at some point.
Expected Output
TLE-file.
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
pyorbital main