Skip to content

Commit

Permalink
Add basic code for commands validation
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Sep 7, 2022
1 parent d9707da commit e5c0f06
Show file tree
Hide file tree
Showing 5 changed files with 867 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kadi/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ class Conf(ConfigNamespace):
"Google Sheet ID for command events (flight scenario).",
)

cmd_events_bad_times_gid = ConfigItem(
"1681877928",
"Google Sheet gid for bad times in command events (flight scenario)",
)

star_id_match_halfwidth = ConfigItem(
1.5, "Half-width box size of star ID match for get_starcats() (arcsec)."
)
Expand Down
2 changes: 2 additions & 0 deletions kadi/commands/commands_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
APPROVED_LOADS_OCCWEB_DIR = Path("FOT/mission_planning/PRODUCTS/APPR_LOADS")

# URL to download google sheets `doc_id`
# See https://stackoverflow.com/questions/33713084 (original question).
# See also kadi.commands.cmds_validate for the long-form URL.
CMD_EVENTS_SHEET_URL = (
"https://docs.google.com/spreadsheets/d/{doc_id}/export?format=csv"
)
Expand Down
Empty file.
Loading

0 comments on commit e5c0f06

Please sign in to comment.