ocd.db_replay
– Replay a database¶
Replay a database to allow testing OCD also during the day or from far away.
This implementation is based on tcs_replay.
-
ocd.db_replay.
db_replay_main
(args)[source]¶ Entry point for replaying the database
Parameters: - args :
Namespace
parsed command line arguments
- args :
-
ocd.db_replay.
db_replay_parser
(subparsers)[source]¶ Add a subcommand “db_replay” to run a hetdex shot.
Parameters: - subparsers : argparse subparsers object
subparser to use to generate new parsers
Returns: - parser :
argparse.ArgumentParser
modified parser