For much of the code that is present in this repository, it is necessary to be within a DUNE DAQ environment. A full description is available here, but in summary,
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
setup_dbt latest
dbt-create -nc fddaq_latest <workarea>
cd <workarea>
source env.sh
The -n
flag will fetch an environment that is currently in development and may be unstable. If it is unstable, one can drop -n
or use an earlier date. The -c
flag is necessary to clone the Python environment.
Now that we are in a DUNE-DAQ working environment, we still need a few more Python libraries. This can be done with
pip install -r requirements.txt
This will also build this repository's custom pdstools
Python package. For the moment, this package can be used to load DAPHNEStream HDF5 files. Additional documentation can be found here.