-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
ICRF from_altaz #158
Comments
(Finally getting to this issue much later than I wanted to!:) To fully diagnose this issue, I'll need to see how your |
I'm looking for a way to get a cartesian position in the ICRF, GCRS or another frame based on an azimuth, altitude and distance from the observer location. The goal is to check when that position (relative to the observer) enters and exits the Earth's shadow, as this would be the time when Earth orbiting satellites at that distance become invisible. The reason for using ICRF is because it has the For reference, this was the test I was doing.
|
Interesting — I'll think about whether
But this code provides no way of controlling distance — |
Ah, I see I had missed/misinterpreted the It's now also clear to me that the |
Its purpose is to let alt/az be turned into RA/dec. Most users have no use for a distance argument, as most users trying to identify an object whose alt/az they measured don't have any way to know the distance (either because they object is far out in the Solar System or galaxy, or because even though it's close they didn't have the equipment to measure its range by radar). Which brings up the interesting question of how you yourself are measuring distances for your inputs :) |
Your explanation makes sense. I'm not measuring a distance per se, but for a given alt/az I'll determine the distance a satellite orbiting at a certain orbital altitude (say 800km) would have in that direction. That cartesian position in the GCRS frame would then be used to determine when it enters and exists the shadow. |
This probably is an issue with my understanding of the code, not the code itself, but I'm trying to figure out how to use the ICRF from_altaz attribute. My goal is to specify an ICRF position based on an alt, az and distance from a Topos observer location. Is the from_altaz attribute the correct approach to do this, and how does one provide the distance?
When running (with observer a Topos instance and t a timescale instance)
this AttributeError is thrown:
The text was updated successfully, but these errors were encountered: