ecpi.database.interact_sdb Module

Created on Oct 15th 2019

@author: Bacon Philippe, APC/IN2P3/CNRS

Functions

download_name(f_name, dest_dir[, type_obj])
param f_name:
download_url_and_rename(url_file, dest_dir)
return:if the operation succeeded
extract_type(n_file) from ECL-EVT-CAL_UTCtotootxxx.fits extract ECL-EVT-CAL
find_name_last_download(obs_id, type_obj)
param obs_id:
get_url_query() return url SDB query
get_url_with_namefile(n_file[, …])
param n_file:
ping_sdb([count]) Ping SDB server.
receive_event_att_files(sdb_filename, dest_dir) Receive event ECL-EVT-SEC_XXX.fits or SVO-ATT-CNV_XXX.fits files from the SDB.
send_product_ecpi(path_product) Send L1 product generated by the ECLAIRs pipeline to the SDB.