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