Skip to content

[Webservice] Enable two runs detectors

Karim Ahmed requested to merge enable_two_runs_detectors into master

Description

This is the first step in enabling two runs detector in the webservice for the Shimdazu

The optimal and long-term solution would be to query CALCAT and check which operation mode the detector configured to.

How Has This Been Tested?

Tested on xcaltst@max-exfl-cal002

2024-04-02 10:37:23,475 - root - INFO - [webservice.py:452] python -m xfel_calibrate.calibrate agipd DARK --concurrency-par karabo_da --slurm-scheduling 0 --slurm-partition exfel --request-time 2024-04-02T08:37:03.908170+00:00 --slurm-name dark_CALLAB_agipd_202031_p900113_r9985_r9984_r9983 --report-to /gpfs/exfel/d/cal_tst/caldb_store/xfel/reports/CALLAB/HED_DET_AGIPD500K2G/dark/dark_900113_r9985_r9984_r9983_240402_083703_908170 --cal-db-interface tcp://max-exfl-cal002:8015#8044 --db-output --ctrl-source-template {}/MDL/FPGA_COMP --karabo-da AGIPD00 AGIPD01 AGIPD02 AGIPD03 AGIPD04 AGIPD05 AGIPD06 AGIPD07 --karabo-id-control HED_EXP_AGIPD500K2G --receiver-template {}CH0 --bias-voltage 200 --in-folder /gpfs/exfel/exp/CALLAB/202031/p900113/raw --out-folder /gpfs/exfel/u/usr/CALLAB/202031/p900113/dark/runs_9985_9984_9983/HED_DET_AGIPD500K2G --karabo-id HED_DET_AGIPD500K2G --operation-mode ADAPTIVE_GAIN --run-high 9985 --run-med 9984 --run-low 9983
2024-04-02 10:37:23,475 - root - INFO - [webservice.py:451] SUCCESS: Started dark characterization: proposal 900113, run 9983
2024-04-02 10:37:23,112 - root - INFO - [webservice.py:452] python -m xfel_calibrate.calibrate epix100 DARK --concurrency-par karabo_da --slurm-scheduling 0 --slurm-partition exfel --request-time 2024-04-02T08:36:47.560281+00:00 --slurm-name dark_CALLAB_epix100_202031_p900113_r9988 --report-to /gpfs/exfel/d/cal_tst/caldb_store/xfel/reports/CALLAB/MID_EXP_EPIX-1/dark/dark_900113_r9988_240402_083647_560281 --cal-db-interface tcp://max-exfl-cal002:8015#8044 --db-output --karabo-da EPIX01 --in-folder /gpfs/exfel/exp/CALLAB/202031/p900113/raw --out-folder /gpfs/exfel/u/usr/CALLAB/202031/p900113/dark/runs_9988/MID_EXP_EPIX_1 --karabo-id MID_EXP_EPIX-1 --operation-mode STANDARD_OPERATION --run 9988

Relevant Documents (optional)

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

Reviewers

Edited by Karim Ahmed

Merge request reports