question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot set ISS attractor to Earth

See original GitHub issue
In [20]: epoch = Time("2019-11-10 12:00:00")                                                                                            

In [21]: iss = Orbit.from_horizons("International Space Station", epoch=epoch, id_type="majorbody"); iss                                
Out[21]: 1 x 1 AU x 19.1 deg (HCRS) orbit around Sun (☉) at epoch 2019-11-10 12:01:09.183 (TDB)

In [22]: iss.change_attractor(Earth)                                                                                                    
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-22-3297d9422d44> in <module>
----> 1 iss.change_attractor(Earth)

~/Development/poliastro/poliastro/src/poliastro/twobody/orbit.py in change_attractor(self, new_attractor, force)
    488         if distance > r_soi and not force:
    489             raise ValueError(
--> 490                 "Orbit is out of new attractor's SOI. If required, use 'force=True'."
    491             )
    492         elif self.ecc < 1.0 and not force:

ValueError: Orbit is out of new attractor's SOI. If required, use 'force=True'.

Strange!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
priyanshurohillacommented, Apr 4, 2020

@astrojuanlu you said in the comments that whosoever wants to work on it. Thats why i mentioned it. If @iamabhishek0 wants to work on it i dont have any problem regarding that. All yours @iamabhishek0

1reaction
astrojuanlucommented, Apr 4, 2020

@priyanshurohilla There is no need to announce you are working on a particular issue. On one hand, we see a pattern of people making the announcement and then never sending a pull request, which gives a bad impression (I have been guilty of this in other projects, and it still is not a nice thing to do). On the other hand, it gives the impression that others should refrain to work on the issue, which is wrong.

And finally, as @iamabhishek0 correctly points out, he did the investigation, probably already has some progress, and you announced you were working in other issue.

This is not a competition folks. Thanks for your enthusiasm!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attractor - Scholarpedia
Attractors in dynamical systems theory simply provide a way of describing the asymptotic behavior of typical orbits. In particular, there is no ...
Read more >
Attractor - Wikipedia
An attractor can be a point, a finite set of points, a curve, a manifold, or even a complicated set with a fractal...
Read more >
Strange Attractors - RealClearScience
There are two types of patterns inherent to the strange attractor. The first is what is called fractal. When you zoom in on...
Read more >
Will the Great Attractor Destroy Us? - Space.com
We call it the Great Attractor, and until recently, its true nature has been a complete mystery. Note that it's still a mystery,...
Read more >
When will the Milky Way "arrive" at the Great Attractor, and ...
It may simply be the direction that the cluster is moving. BTW, the only force that can stop a galaxy is gravity, so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found