ecpi.database.interact_caldb Module¶
Created on Nov 19th 2019
@author: Bacon Philippe, APC/IN2P3/CNRS
- @note: Following commands deletes all registered .fits files in CALDB.
- curl -X DELETE “https://svom-caldb.lal.in2p3.fr/api/admin/” -H “accept: application/json”
Functions¶
call_quzcif(filetype) |
CALDB request quzcif |
download_file_from_caldb(dest_dir, file_calib) |
Simple download with API REST interface / JM Colley .. |
execute(cmd) |
Simple subprocess run |
receive_arf_file_from_caldb(dest_dir) |
Receive ARf file from the CALDB. |
rename_arf(arf_path) |
Rename arf with correct syntaxe |
rename_arf_dc2(arf_path) |
Rename arf with correct syntaxe |
send_file_to_caldb(file) |
Send whatever file to CALDB. |