The line of code above the error originates from the python library, so I'm hoping the answer is yes.
I've tried multiple different copy / pastes and had the same issue thus far.
Sincerely, Rizwan Merchant KF5BNL
On Mon, Jan 18, 2021 at 9:17 AM Zach Metzinger zmetzing@pobox.com wrote:
On 1/18/21 9:10 AM, Rizwan Merchant wrote:
self.orbit = int(self._line2[63:68]) ValueError: invalid literal for int() with base 10: '4 0'
While Python is not a language I use often, I might be able to answer this:
Are you sure that column 63 should be included in that text-to-integer conversion? I forget where I saw the TLE format specification, but I'd check that first.
In addition, when you cut/paste from email, make sure spaces aren't being missed somehow.
--- Zach N0ZGO
Sent via AMSAT-BB(a)amsat.org. AMSAT-NA makes this open forum available to all interested persons worldwide without requiring membership. Opinions expressed are solely those of the author, and do not reflect the official views of AMSAT-NA. Not an AMSAT-NA member? Join now to support the amateur satellite program!
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/amsat-bb@amsat.org To unsubscribe send an email to amsat-bb-leave(a)amsat.org Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org