-
Notifications
You must be signed in to change notification settings - Fork 1
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
BUG: Issue with orbit and sgp4 defaults #84
Comments
when you say "Note that mlt variable will be added by custom function." |
I updated the comment. Pasted from terminal. Anyway, changing the latitude of the orbit does get orbits working more as expected. |
The first orbit that loads isn't the first orbit that we should get. |
I don't have a working version of apexpy at the moment, but here's an slt version:
to check:
The data loads correctly, but the first orbit is actually the first orbit from the previous day. Is this what you're seeing @rstoneback? If I continue to iterate, the orbits eventually match up. From the terminal feedback, when I first run the orbits command, it does load the previous and successive days correctly, but grabs the first complete orbit of the previous day rather than the first complete orbit that includes the desired day. |
Update: this holds true for a variety of inclinations (up to 50 deg), using both geod_longitude and longitude as the input to the slt function. The test instrument from pysat works fine, the only difference I see in the data is that the test instrument looks like a linear increase with time, whereas the sgp4 wobbles a bit. |
It does correctly identify an orbit breakdown by longitude with the same setup as above for sgp4. This is strange, since SLT is just calculated from longitude. |
The orbit breaks are determined based on the presence of a sufficiently negative gradient. Since longitudes drop by 360, but mlt or slt only drops by 24, longitude orbits may work over a larger range. Opening up the input options as part of the greater orbit generalization, including the size of the gradient trigger, should make more configurations reliable. |
Describe the bug
If a user attempts to iterate by orbit using
sgp4
, with added quasi-dipole coordinates, to get orbits by local time, then things get wonky with default values.The issue is pysat's filtering of orbit breaks. The sgp4 values and additional coordinates look ok.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
Normal orbit iteration.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I think the gradient in
mlt
is too low compared to pysat orbit defaults. We need to expose those parameters, and have optional and consistent orbit filtering across orbit types. This is really a pysat problem that is exposed via pysatMissions.The text was updated successfully, but these errors were encountered: