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.
# Define on-the-fly orbit breakdown input. Note that `mlt` variable will be added by custom function.
orbit_info = {"kind": "lt", "index": "mlt"}
# Instantiate satellite propagator. Note that `inclination` and `alt_periapsis` are keywords defined by
# `missions_sgp4` module, not pysat itself.
inst = pysat.Instrument("missions", "sgp4", orbit_info=orbit_info)
inst.custom_attach(
pysatMissions.methods.magcoord.add_quasi_dipole_coordinates,
kwargs={
"glat_label": "geod_latitude",
"glong_label": "geod_longitude",
"alt_label": "geod_altitude",
},
)
inst.load(2019, 2, use_header=True)
inst.orbits.next()
- Orbit breakdown is all weird and wrong.
Expected behavior
Normal orbit iteration.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS
- Version Python 3.9
- Other details about your setup that could be relevant
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.
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
mltis 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.