Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Internal server error for ALPHASAT #1

Closed
arihantdaga opened this issue Sep 4, 2022 · 2 comments
Closed

Internal server error for ALPHASAT #1

arihantdaga opened this issue Sep 4, 2022 · 2 comments

Comments

@arihantdaga
Copy link
Member

    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/routing.py", line 227, in app
    raw_response = await run_endpoint_function(
  File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
    return await dependant.call(**values)
  File "/home/ubuntu/satellite-communication-station/backend/./api/apis/webbrowser.py", line 22, in get_visibility
    passes = op.predict_next_visible_orbits(sat.name, GS.observer, interval, None, elevation)
  File "/home/ubuntu/satellite-communication-station/backend/./orbitpredictor.py", line 83, in predict_next_visible_orbits
    predicted_pass = predictor.get_next_pass(observer,after_when, max_elevation_gt)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/orbit_predictor/predictors/base.py", line 214, in get_next_pass
    for pass_ in self.passes_over(location, when_utc, limit_date,
  File "/home/ubuntu/.local/lib/python3.8/site-packages/orbit_predictor/predictors/pass_iterators.py", line 52, in __iter__
    yield from self.iter_passes()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/orbit_predictor/predictors/pass_iterators.py", line 76, in iter_passes
    pass_ = self._refine_pass(ascending_date, descending_date)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/orbit_predictor/predictors/pass_iterators.py", line 136, in _refine_pass
    aos = self._find_aos(tca)
  File "/home/ubuntu/.loc

Getting this when trying to predict passes for ALPHASAT.

@arihantdaga
Copy link
Member Author

It is related to this - satellogic/orbit-predictor#98

@arihantdaga
Copy link
Member Author

Have attempted to fix in redkibble/orbit-predictor#1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant