-
Notifications
You must be signed in to change notification settings - Fork 3
State data missing from 2001:001 to 2003:001 #242
Description
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?