Ignore:
Timestamp:
07/19/18 18:45:51 (6 years ago)
Author:
Daniela Dorner
Message:
updated policy, headers and email-adresses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Tools/get_data.sh

    r19059 r19066  
    8585   then
    8686      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)."
    8889      echo "#"
    8990      echo "# References: "
    9091      echo "#   FACT design paper: http://adsabs.harvard.edu/abs/2013JInst...8P6008A"
    9192      echo "#                      http://iopscience.iop.org/1748-0221/8/06/P06008 "
    92       echo "#   FACT Performance Paper: href='http://adsabs.harvard.edu/abs/2014JInst...9P0012B"
    93       echo "#                           href='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"
    9495      echo "#   FACT quick look analysis: https://fact-project.org/monitoring"
    9596      echo "#                             http://adsabs.harvard.edu/abs/2015arXiv150202582D"
     
    408409      fi
    409410      print_selection >> $fileext
    410       headerext="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[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] "
    411412      echo $headerext >> $fileext
    412413      #echo "$queryext"
     
    433434      echo "#" >> $fileint
    434435   fi
    435    headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
    436    headerint=$headerint" excrate_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 "
    437438   headerint=$headerint" zdmin zdmax thmin thmax avg(cufactor) avg(R750cor) avg(R750ref) "
    438439   echo $headerint >> $fileint
     
    440441   mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -s -e "$queryint" >> $fileint
    441442   #mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -e "$queryint"
    442    if [ "$mode"="auto" ]
     443   if [ "$mode" == "auto" ]
    443444   then
    444445      return
     
    456457      echo "#" >> $filecol
    457458   fi
    458    headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
    459    headercol=$headercol" excrate_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 "
    460461   echo $headercol >> $filecol
    461462   #echo "$querycol"
     
    513514   if [ "$expert" == "yes" ]
    514515   then
    515       cat $fileint | mail -s 'FACT internal data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de $email
     516      cat $fileint | mail -s 'FACT internal data download' -b qla@fact-project.org -r qla@fact-project.org $email
    516517   else
    517       cat $fileext | mail -s 'FACT data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de $email
     518      cat $fileext | mail -s 'FACT data download' -b qla@fact-project.org -r qla@fact-project.org $email
    518519   fi
    519520     
Note: See TracChangeset for help on using the changeset viewer.