2,652
edits
m (→The script: rev 1.08) |
|||
(One intermediate revision by the same user not shown) | |||
Line 126: | Line 126: | ||
# revision 1.07 . KD, Thomas Hauß, Gleb Bourenkov 25/10/2021. Detector moved from Petra P14 to P13 | # revision 1.07 . KD, Thomas Hauß, Gleb Bourenkov 25/10/2021. Detector moved from Petra P14 to P13 | ||
# revision 1.08 . KD, Thomas Hauß, Feng Yu 7/11/2021 fix TZ in timestamps for SSRF detectors | # revision 1.08 . KD, Thomas Hauß, Feng Yu 7/11/2021 fix TZ in timestamps for SSRF detectors | ||
REVISION="1. | # revision 1.09 . KD, Feng Yu 7/11/2021 fix detector number BNL E-18-0121 to be E-18-0104 | ||
REVISION="1.09 (9-NOV-2021)" | |||
# | # | ||
Line 678: | Line 679: | ||
fi | fi | ||
# revision 1.05 specialcase nframes for Eiger detectors at BNL | # revision 1.05 specialcase nframes for Eiger detectors at BNL | ||
if [ "$SN" == "E-18- | if [ "$SN" == "E-18-0104" -o "$SN" == "E-32-0101" ]; then | ||
echo specialcase nframes for Eiger detectors at BNL: | echo specialcase nframes for Eiger detectors at BNL: | ||
nframes=`h5dump -A -g "/entry/data" $FIRSTFRAME | grep "DATASPACE SIMPLE" | sed -e "s/,.*//" | awk '{a+=$5}END{print a}'` | nframes=`h5dump -A -g "/entry/data" $FIRSTFRAME | grep "DATASPACE SIMPLE" | sed -e "s/,.*//" | awk '{a+=$5}END{print a}'` |