-
Notifications
You must be signed in to change notification settings - Fork 50
High-eccentricity targets from JPL-H as MPC_COMET #1337
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
base: dev
Are you sure you want to change the base?
Conversation
Makes passing on elements to SLALIB easier when dealing with high eccentricity targets from JPL horizons. Fixes #1180
jchate6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might want to approach this another way.
I think the logic is the same, but it might make sense to move it into the model.
I'm picturing moving this to within save() or somewhere in full_clean() like model.clean() so that we perform this on all ingested moving objects.
The problem is that when we try to request an observation for a high eccentricity object we get the wrong pointings if the scheme is incorrect. Doesn't matter where that came from.
This would remove the user's ability to make that choice, though. Would this not be surprising behavior (target type changes transparently during save() from something other than the parameters it was passed) for people using observatories that, for example, don't rely on SLALIB weirdness? My gut tells me this should remain explicit instead of introducing magic. But maybe it doesn't matter? |
|
Or maybe this logic really belongs at the LCO/OCS facility level, if what we are really working around is SLALIB? And then we can otherwise leave targets alone. |
|
I think we have updated the OCS to do this a little better, but this is also an orbital scheme, not a classification or anything. @talister Do you think there is a problem enforcing this change universally? At what level would you expect this to happen? |
It's not "working around SLALIB", it's that the maths fundamentally doesn't work in high eccentricity cases and you need to do something different. This is indicated by the scheme which switches (inside SLALIB or whatever else you would use) to a different method of solving Kepler's equation (background on solving this from Bill Gray/ |
Makes passing on elements to SLALIB easier when dealing with high eccentricity targets from JPL horizons. Fixes #1180