...
source /afs/slac.stanford.edu/g/glast/ground/scripts/group.sh
source /afs/slac.stanford.edu/g/glast/ground/scripts/group.cshrc
rdbGUI
: type "rdbGUI" at the command prompt./afs/slac/g/glast/applications/dbSchemas/calib
File Name
box. NOTE: to "paste" from clipboard into a Qt GUI window, using a Mac: ctrl-click-vmetadata_v2r1
under the Tables box.Session
menu, click on "Open connection". This will open a pop up box.For easier reference, here's a table with some example files and the calib_type for them.
file name example | calib_type | Notes |
---|---|---|
fit_gcrhists_lkhd_568m_572m_bigsum.gcr_asym_hist.xml | CAL_Asym | the "568m_572m" should increment by 6m for each new calibration |
fit_proton_calib_568m_572m_bigsum.calMPD.xml | CAL_MevPerDac | the "568m_572m" should increment by 6m for each new calibration |
pedavr_568m_572m.xml | CAL_Ped | the "568m_572m" should increment by 6m for each new calibration |
LAT_BadStrips_45.xml | TKR_DeadChan | the "45" should increment by 1 for each new calibration |
SELECT ser_no FROM metadata_v2r1 WHERE ((completion="OK") AND (instrument="LAT") AND (calib_type="TKR_DeadChan") AND (flavor="L1current")
AND ("2021-05-22 12:57:20">=vstart) AND ("2021-05-22 12:57:20"<vend) AND ("PROD"=PROC_LEVEL)) ORDER BY update_time desc
so in the event that the "vend" field of the previous record does not update, then the XML file might be selected by the "update_time" value. So you might want to confirm that the desired new XML calibration file has the latest "update_time".
...