sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Add `type` field to Dump event class and update docs and process notes #264

Closed taldcroft closed 1 year ago

taldcroft commented 1 year ago

Description

The primary driver for this PR is to add a type field to the momentum Dump event which indicates if this dump was ground commanded or autonomous.

In doing this I noted that the process notes files were out of date and substantively wrong in many places, so I took the opportunity to do some re-organization and clean-up.

Interface impacts

Adds a type field to dumps, but is otherwise back compatible. In particular the new database works with old code.

Testing

Unit tests

Independent check of unit tests by Jean (with this PR's events3.db3)

Functional tests

The update process now described in NOTES.events_maintain.rst was followed end-to-end. This includes functional testing:

The new events3.db3 file is available on HEAD in /proj/sot/ska/data/kadi/rc.

jeanconn commented 1 year ago

Does this line do anything at this point?

https://github.com/sot/kadi/pull/264/files#diff-d63b68babdc09c7533bc1a95fb271638f0234e0726d02c3a5781b0783c02609fR1164

taldcroft commented 1 year ago

I'm pretty sure event_val = 'GRND' is not doing anything, but I don't want to re-test.