DataBaseSVOMInterface

class DataBaseSVOMInterface(p_name, p_local_path, p_pwd=None, p_url=None)[source]

Bases: object

Interface of SVOM data base for ECLAIRs, no instanciate

open one connection between database SVOM and pipeline ECLAIRs with identifiant p_name return exception if can’t open connexion

Methods Summary

close()
get_files_evt_between_time(p_tstart, …) return directory name in self.local_path
get_log(p_id)
get_product(p_id)
get_sat_attitude(p_time)
get_sat_position(p_time)
get_status(p_id)
insert_log(p_file, p_id)
insert_product(p_directory, p_id)
insert_status(p_string, p_id)

Methods Documentation

close()[source]
get_files_evt_between_time(p_tstart, p_tstop, p_id)[source]

return directory name in self.local_path copy in directory name files evt

get_log(p_id)[source]
get_product(p_id)[source]
get_sat_attitude(p_time)[source]
get_sat_position(p_time)[source]
get_status(p_id)[source]
insert_log(p_file, p_id)[source]
insert_product(p_directory, p_id)[source]
insert_status(p_string, p_id)[source]