Changeset 19066 for trunk/DataCheck
- Timestamp:
- 07/19/18 18:45:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Tools/get_data.sh
r19059 r19066 85 85 then 86 86 echo "# Using data from the FACT Quick Look Analysis, you agree to cite the FACT design" 87 echo "# paper and the quick look analysis website. " 87 echo "# paper (H. Anderhub et al. JINST 8 P6008) and the quick look analysis website " 88 echo "# (https://fact-project.org/monitoring)." 88 89 echo "#" 89 90 echo "# References: " 90 91 echo "# FACT design paper: http://adsabs.harvard.edu/abs/2013JInst...8P6008A" 91 92 echo "# http://iopscience.iop.org/1748-0221/8/06/P06008 " 92 echo "# FACT Performance Paper: h ref='http://adsabs.harvard.edu/abs/2014JInst...9P0012B"93 echo "# h ref='http://iopscience.iop.org/1748-0221/9/10/P10012"93 echo "# FACT Performance Paper: http://adsabs.harvard.edu/abs/2014JInst...9P0012B" 94 echo "# http://iopscience.iop.org/1748-0221/9/10/P10012" 94 95 echo "# FACT quick look analysis: https://fact-project.org/monitoring" 95 96 echo "# http://adsabs.harvard.edu/abs/2015arXiv150202582D" … … 408 409 fi 409 410 print_selection >> $fileext 410 headerext="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] exc rate[evts/h] (stop-start)/2["$timeunit"] excrate_err[evts/h] "411 headerext="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] (stop-start)/2["$timeunit"] excess-rate_error[evts/h] " 411 412 echo $headerext >> $fileext 412 413 #echo "$queryext" … … 433 434 echo "#" >> $fileint 434 435 fi 435 headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] exc rate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"436 headerint=$headerint" exc rate_err[evts/h] corr.excrate_err[evts/h] flux_err[CU] flux_err[e-11/cm2/s] significance night num_exc num_sig num_bg "436 headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]" 437 headerint=$headerint" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance night num_exc num_sig num_bg " 437 438 headerint=$headerint" zdmin zdmax thmin thmax avg(cufactor) avg(R750cor) avg(R750ref) " 438 439 echo $headerint >> $fileint … … 440 441 mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -s -e "$queryint" >> $fileint 441 442 #mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -e "$queryint" 442 if [ "$mode" ="auto" ]443 if [ "$mode" == "auto" ] 443 444 then 444 445 return … … 456 457 echo "#" >> $filecol 457 458 fi 458 headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] exc rate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"459 headercol=$headercol" exc rate_err[evts/h] corr.excrate_err[evts/h] flux_err[CU] flux_err[e-11/cm2/s] significance "459 headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]" 460 headercol=$headercol" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance " 460 461 echo $headercol >> $filecol 461 462 #echo "$querycol" … … 513 514 if [ "$expert" == "yes" ] 514 515 then 515 cat $fileint | mail -s 'FACT internal data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de$email516 cat $fileint | mail -s 'FACT internal data download' -b qla@fact-project.org -r qla@fact-project.org $email 516 517 else 517 cat $fileext | mail -s 'FACT data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de$email518 cat $fileext | mail -s 'FACT data download' -b qla@fact-project.org -r qla@fact-project.org $email 518 519 fi 519 520
Note:
See TracChangeset
for help on using the changeset viewer.