eee run database – last updates new tables to store information regarding hardware, software and...

7
EEE RUN Database – last updates • New tables to store information regarding hardware, software and data acquisition configurations of each telescope • Telescope configurations for a specific date/time can be easily retrived

Upload: alisha-freeman

Post on 22-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

EEE RUN Database – last updates

• New tables to store information regarding hardware, software and data acquisition configurations of each telescope

• Telescope configurations for a specific date/time can be easily retrived

Page 2: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

EEE RUN Database – populating configuration tables• The daq configuration table can be easily populated using the information stored in the

binary data python dst/E3BinFile.py /data/SAVO-01/data/2015-02-22/SAVO-01-2015-02-22-00001.bin

>>> Opening input binary file /data/SAVO-01/data/2015-02-22/SAVO-01-2015-02-22-00001.bin...>>> Geometry record found!>>> Angle to north: 56.0 deg, d12 = 46.0 cm, d23 = 46.0 cm.>>> Weather station record found!>>> 2015-02-22 00:00:00: out = 5.00 deg C, in = 20.00 deg C, P = 992 hPa0 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m1 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m2 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m3 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m4 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m5 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m6 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m7 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m8 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m9 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 manalisi@eee-analisi:/opt/eee/e3pipe$

• Modify the EEE DAQ program to store also information about hardware/software config.?

Page 3: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

E3DBCON – c++ e3rundb connector

Page 4: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

Basic functionalities

• Get all RUNS from a Station in a time windows - OK

• Get all RUNS from a Station in a time windows with specific cuts - OK• Get DAQ parameters from a specific Station - OK./dbConnTest.exe VIAR-01 2015-02-01/2015-03-02 "gps_latitude,gps_longitude,gps_altitude,telescope_id" -v2

[e3RunDbConn::GetDaqConf - INFO] Performing query: SELECT gps_latitude,gps_longitude,gps_altitude,telescope_id FROM daq_configurations JOIN telescopes ON daq_configurations.telescope_id = telescopes.id WHERE telescopes.name='VIAR-01' AND '2015-02-01' between valid_from and valid_until

[e3RunDbConn::GetDaqConf - INFO] Query results:

1,2,3,46

Page 5: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

COINCIDENCE – last updates

Page 6: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

Package layout (still in the dev branch!)

Page 7: EEE RUN Database – last updates New tables to store information regarding hardware, software and data acquisition configurations of each telescope Telescope

COINCIDENCE – New functionalities

• DST files from rundb or file list (back compatibility)• If rundb is used, Run selection can be done according to the specified

clauses