Download Document

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
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
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 hPa
0 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
1 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
2 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
3 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
4 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
5 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
6 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
7 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
8 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
9 Latitude 44.306100000000 deg, Longitude 8.482900000000 deg, altitude 35 m
analisi@eee-analisi:/opt/eee/e3pipe$
• Modify the EEE DAQ program to store also information about hardware/software
config.?
E3DBCON – c++ e3rundb connector
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
COINCIDENCE – last updates
Package layout (still in the dev branch!)
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
Related documents