Changeset 18743 for trunk/DataCheck
- Timestamp:
- 02/02/17 03:30:07 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/FlareAlerts.sh
r18742 r18743 1 1 #!/bin/bash 2 2 # 3 4 # missing: install cron for current night 5 # change logging to processlog 6 # evaluate output of all nights 7 # implement DB-entries for being called 3 8 4 9 source `dirname $0`/../Sourcefile.sh … … 202 207 fi 203 208 # missing: probably one should check also 20 min binning (s example 20170103) 209 # missing: check on still available observation time 204 210 205 211 echo " "$i" "${results[$num+2]}"-"${results[$num+3]}"["${results[$num+8]}"] "$exc" "$sig … … 219 225 esac 220 226 227 # missing: maybe use $donetriggerfile for all cases - update of nightly case can be triggered differently 228 # missing: adapt triggerfilename for type 3 (slopelimit) 221 229 if [ $trigger -eq 1 ] 222 230 then … … 356 364 # limits 357 365 siglimit=3.0 # sigma 358 exclimit=0.5 # CU359 siglimit=2.0360 exclimit=0.5361 366 if [ $sourcekey -eq 1 ] || [ $sourcekey -eq 2 ] 362 367 then 363 368 exclimit=3.0 # CU 369 else 370 exclimit=0.5 # CU 364 371 fi 365 372 # only if rate goes even higher, we have to react … … 369 376 echo "[General gamma-ray MoU]" 370 377 echo " nightly binning..." 378 # checking nightly binning 371 379 bin= 372 # checking nightly binning373 380 get_query_nightly_binning 374 #echo $query375 381 results=( `sendquery` ) 376 #echo ${results[@]}377 382 evaluate_result 378 #continue 379 380 # binning 383 384 # 20 min binning 381 385 bin=20 382 386 echo " "$bin" min binning..." 383 384 387 get_query_minute_binning 385 #echo $query386 388 results=( `sendquery` ) 387 #echo ${results[@]}388 389 evaluate_result 389 390 … … 397 398 echo "[Trigger to MAGIC 501 proposal]" 398 399 echo " nightly binning..." 400 # checking nightly binning 399 401 bin= 400 # checking nightly binning401 402 get_query_nightly_binning 402 #echo $query403 403 results=( `sendquery` ) 404 #echo ${results[@]}405 404 evaluate_result 406 #continue 407 408 # binning 405 # 20 min binning 409 406 bin=20 410 407 echo " "$bin" min binning..." 411 412 408 get_query_minute_binning 413 #echo $query414 409 results=( `sendquery` ) 415 #echo ${results[@]}416 410 evaluate_result 417 411 fi … … 422 416 then 423 417 echo "[Trigger to MAGIC - fast rise/decay]" 424 # keep thresholds low (or do not use in evaluation)425 siglimit=2.0426 exclimit=0.5418 ## keep thresholds low (or do not use in evaluation) 419 #siglimit=2.0 420 #exclimit=0.5 427 421 # limits in slope 428 422 slopelimit=1.0 # 1CU/h 429 siglimith=3.0 # 1 sigma in 1 hour 430 423 siglimit=3.0 # 1 sigma in 1 hour 431 424 # binning 432 425 bin=30 433 426 echo " "$bin" min binning..." 434 427 get_query_minute_binning 435 #echo $query436 428 results=( `sendquery` ) 437 #echo ${results[@]}438 429 evaluate_result 439 430 fi
Note:
See TracChangeset
for help on using the changeset viewer.