Skip to content

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

Merged
taldcroft merged 2 commits intomasterfrom
update-dumps-and-docs
Dec 20, 2022
Merged

Add type field to Dump event class and update docs and process notes#264
taldcroft merged 2 commits intomasterfrom
update-dumps-and-docs

Conversation

@taldcroft
Copy link
Copy Markdown
Member

@taldcroft taldcroft commented Dec 15, 2022

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

  • Mac

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

  • Linux

Functional tests

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

  • Database file includes the updated Dump events with the type field.
  • Using the new database file with the current flight release of kadi still passes tests and allows reading dumps.

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

@taldcroft taldcroft changed the title Add type field to Dump event class and update docs and process notes Add type field to Dump event class and update docs and process notes Dec 15, 2022
@jeanconn
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor

@jeanconn jeanconn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than wondering about event_val = 'GRND' this looks good to me.

@taldcroft
Copy link
Copy Markdown
Member Author

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

Copy link
Copy Markdown
Contributor

@jeanconn jeanconn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, if the defunct event_val = 'GRND' is benign, I don't have other issues with this. Make sense.

@taldcroft taldcroft merged commit 2a5acbb into master Dec 20, 2022
@taldcroft taldcroft deleted the update-dumps-and-docs branch December 20, 2022 10:40
@javierggt javierggt mentioned this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants