-
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
obs_stop for last "observation" of 62619 looks wrong #318
Comments
@taldcroft How is the design actually supposed to work for this? Meaning, is there code in there to go through and update the observations OBS commands in the cmds archive as needed to fix obs_stop when you interrupt or resume science? |
I can't reproduce that on my machine:
|
Huh, this is interesting because I'm able to reproduce on kady:
Huh. |
Which at least matches that I was seeing this from ska3-flight with SKA=/proj/sot/ska from fido. I had assumed that it would be the same everywhere but should have indicated my env. |
Though to answer my "How is the design actually supposed to work for this?" question -- in slack chat Tom indicated 'it does always use dynamic command loads for the last month except with "flight" scenario' which would mean that one wouldn't need to "update" obs_stop because it should just be calculated correctly/dynamically. |
I think this was fixed by #319 |
The last entry here with 'obs_stop': '2024:042:06:13:08.510', seems to just go right past the new ERs and ORs in the recovery products.
--
In [5]: obss = get_observations(obsid=62619)
In [6]: obss
Out[6]:
[{'obsid': 62619,
'simpos': -99616,
'obs_stop': '2024:036:20:42:12.000',
'manvr_start': '2024:036:02:18:00.250',
'targ_att': (-0.06609208, -0.06505933, 0.91929395, 0.38248889),
'npnt_enab': False,
'obs_start': '2024:036:20:42:12.000',
'prev_att': (-0.5968393229436381,
-0.04291310973785076,
0.5444975476907872,
0.5877616085408689),
'source': 'CMD_EVT'},
{'obsid': 62619,
'simpos': -99616,
'obs_stop': '2024:042:06:13:08.510',
'manvr_start': '2024:037:03:59:54.250',
'targ_att': (-0.0734461, -0.09617344, 0.91597702, 0.38254731),
'npnt_enab': True,
'obs_start': '2024:037:04:06:42.777',
'prev_att': (-0.06609208, -0.06505933, 0.91929395, 0.38248889),
'source': 'CMD_EVT'},
{'obsid': 62619,
'simpos': -99616,
'obs_stop': '2024:042:06:13:08.510',
'manvr_start': '2024:037:04:36:10.250',
'targ_att': (-0.14281354, -0.28517376, 0.84659287, 0.42609944),
'npnt_enab': True,
'obs_start': '2024:037:04:52:05.911',
'prev_att': (-0.0734461, -0.09617344, 0.91597702, 0.38254731),
'source': 'CMD_EVT'}]
The text was updated successfully, but these errors were encountered: