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

Unused variable - method - not sure if this was on purpose #8

Open
grantcurell opened this issue Apr 29, 2024 · 1 comment
Open

Unused variable - method - not sure if this was on purpose #8

grantcurell opened this issue Apr 29, 2024 · 1 comment

Comments

@grantcurell
Copy link

Function initl takes as arguments:

def initl(
       xke, j2,
       ecco,   epoch,  inclo,   no,
       method,
       opsmode,
       ):

method is passed in sgp4init.py

However, method is never used in the code. It is set statically here

It's not clear if this is deliberate or not or a holdover from debugging where it was fixed.

@Sceki
Copy link
Member

Sceki commented May 1, 2024

Thank you for raising this! I will fix this together with a few other cleanup in a coming soon PR :)

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

No branches or pull requests

2 participants