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

J2Predictor cannot be used to create passes #33

Closed
luciotorre opened this issue Apr 2, 2019 · 2 comments
Closed

J2Predictor cannot be used to create passes #33

luciotorre opened this issue Apr 2, 2019 · 2 comments
Assignees
Labels

Comments

@luciotorre
Copy link
Contributor


~/satellogic/coverage-time-report/venv/lib/python3.7/site-packages/orbit_predictor/predictors/base.py in _get_next_pass(self, location, when_utc, aos_at_dg, limit_date)
    181             raise TypeError("location must be a Location instance")
    182 
--> 183         pass_ = PredictedPass(location=location, sate_id=self.sate_id, aos=None, los=None,
    184                               max_elevation_date=None, max_elevation_position=None,
    185                               max_elevation_deg=0, duration_s=0)

AttributeError: 'J2Predictor' object has no attribute 'sate_id'
@astrojuanlu astrojuanlu self-assigned this Apr 2, 2019
@astrojuanlu astrojuanlu added the bug label Apr 2, 2019
@astrojuanlu
Copy link
Contributor

astrojuanlu commented Apr 2, 2019

It probably happens with other predictors.

@astrojuanlu
Copy link
Contributor

(I amend myself: this doesn't have anything to do with #17)

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

No branches or pull requests

2 participants