-
Notifications
You must be signed in to change notification settings - Fork 3
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
State data missing from 2001:001 to 2003:001 #242
Comments
@Gregg140 - the main issue is that prior to 2003 we do not have a definitive list of Chandra command events (aka non-load commands) and a definitive backstop history chain. There were many safing actions and complicated command histories from launch to 2003. If you can define those elements and validate their accuracy vs. telemetry then we can add those commands to the commands archive which will then make the states available. |
@Gregg140 - as part of the commands v2 promotion / migration process, I realized that some of our code (e.g. |
That's good news. Thanks for the effort. |
Question: Your comment above says: Does this then translate into the states also being complete? My original issue was th the states did not go back to the first available loads |
Yes. The kadi states are dynamically derived from commands, so if the commands are complete then states become complete. |
State data from early in the mission is missing. It would be useful to populate the state information from at least 2000 to 2003 (if not from launch). Last I heard state data was guaranteed only from 2003 onward.
In [2]: orbit_states = states.get_states("2000:001", "2003:001", state_keys = ["simpos", "grating"])
ValueError Traceback (most recent call last)
in
----> 1 orbit_states = states.get_states("2000:001", "2003:001", state_keys = ["simpos", "grating"])
/proj/sot/ska3/flight/lib/python3.8/site-packages/kadi/commands/states.py in get_states(start, stop, state_keys, cmds, continuity, reduce, merge_identical, scenario)
1329 # Get initial state at start of commands
1330 if continuity is None:
-> 1331 continuity = get_continuity(start, state_keys, scenario=scenario)
1332
1333 # Get transitions, which is a list of dict (state key
/proj/sot/ska3/flight/lib/python3.8/site-packages/kadi/commands/states.py in get_continuity(date, state_keys, lookbacks, scenario)
1597 missing_keys = set(state_keys) - set(continuity)
1598 if missing_keys:
-> 1599 raise ValueError('did not find transitions for state key(s)'
1600 ' {} within {} days of {}. Maybe adjust the
lookbacks
argument?'1601 .format(missing_keys, lookbacks[-1], stop.date))
ValueError: did not find transitions for state key(s) {'simpos', 'grating', 'hetg', 'letg'} within 1000 days of 2000:001:00:00:00.000. Maybe adjust the
lookbacks
argument?The text was updated successfully, but these errors were encountered: