brandon-rhodes / python-sgp4

Python version of the SGP4 satellite position library
MIT License
376 stars 88 forks source link

Add satnum setter #98

Closed ckuethe closed 1 year ago

ckuethe commented 3 years ago

Fixes #97. I'm sure I missed some finer points, but I ginned up a little set of tests and everything seems to work:

ckuethe commented 3 years ago

Here are some test cases ... https://gist.github.com/ckuethe/eb37e8a99d9f7fd5842d2e54212e62ad

brandon-rhodes commented 1 year ago

Thanks for trying to put this together! But I wound up resolving the issue with much less code, as explained here:

https://github.com/brandon-rhodes/python-sgp4/issues/97#issuecomment-1525482029

Hopefully that will let users write to the satellite number, but without burdening the module with too much extra code.