Change Database Document#

lstcam_calib.tools.change_database_document Module#

Tool to change database documents associated to calibration files.

lstcam_change_db_document --help

Classes#

ChangeDataBaseDocument(**kwargs)

Tool to change a database document.

ChangeType(value[, names, module, qualname, ...])

Type of change allowed in the database documents.

This tool permits to perform the main actions allowed on the database documents. They are defined setting the option --change with one of the following ChangeType values:

class lstcam_calib.tools.change_database_document.ChangeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Type of change allowed in the database documents.

disable = 'disable'

disable usage of a calibration file

enable = 'enable'

enable usage of a calibration file

invalidate = 'invalidate'

invalidate a calibration file after data quality check

remove = 'remove'

remove from database the document of a calibration file

validate = 'validate'

validate a calibration file after data quality check