Changeset 19043 for trunk/DataCheck
- Timestamp:
- 06/29/18 18:33:52 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Tools/get_data.sh
r19042 r19043 37 37 # must-have 38 38 # - fix bug for timeunit=timestamp (min-binning) 39 # - add policy40 39 # - add email sending and return values 41 40 # - update function for zd/th-correction … … 78 77 # 79 78 79 80 function print_policy() 81 { 82 echo "# Data Usage Policy: " 83 if [ "$expert" == "no" ] 84 then 85 echo "# Using data from the FACT Quick Look Analysis, you agree to cite the FACT design" 86 echo "# paper and the quick look analysis website. " 87 echo "# References: " 88 echo "# FACT design paper: http://adsabs.harvard.edu/abs/2013JInst...8P6008A" 89 echo "# http://iopscience.iop.org/1748-0221/8/06/P06008 " 90 echo "# FACT Performance Paper: href='http://adsabs.harvard.edu/abs/2014JInst...9P0012B" 91 echo "# href='http://iopscience.iop.org/1748-0221/9/10/P10012" 92 echo "# FACT quick look analysis: https://fact-project.org/monitoring" 93 echo "# http://adsabs.harvard.edu/abs/2015arXiv150202582D" 94 echo "# If you intend to use data or information from this website, please let us know for reference." 95 else 96 echo "# As a member or associated member of the FACT Collaboration, you have access to internal information." 97 echo "# Any publication using FACT internal information has to have the full FACT author list." 98 fi 99 } 100 80 101 81 102 … … 325 346 echo "creating "$fileext" ..." 326 347 echo "# This file was created at "`date` > $fileext 327 # add policy here348 print_policy >> $fileext 328 349 fi 329 350 headerext="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] delta_time["$timeunit"] excrate_err[evts/h] " … … 343 364 echo "creating "$fileint" ..." 344 365 echo "# This file was created at "`date` > $fileint 366 echo "#" >> $fileint 367 print_policy >> $fileint 368 echo "#" >> $fileint 345 369 echo "# The following query was used: " >> $fileint 346 370 echo "# "$queryint >> $fileint 347 # add policy here371 echo "#" >> $fileint 348 372 fi 349 373 headerint="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] delta_time["$timeunit"] ontime[min]" … … 364 388 echo "creating "$filecol" ..." 365 389 echo "# This file was created at "`date` > $filecol 390 echo "#" >> $filecol 391 print_policy >> $filecol 392 echo "#" >> $filecol 366 393 echo "# The following query was used: " >> $filecol 367 394 echo "# "$querycol >> $filecol 368 # add policy here395 echo "#" >> $filecol 369 396 fi 370 397 headercol="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] delta_time["$timeunit"] ontime[min]" … … 383 410 #get_data.sh $start $stop $source $timebin $email $table $time $expert $dch $zd $th $light $dust 384 411 mode="auto" 412 overwrite="yes" 385 413 # setup 386 414 path=`dirname $0`
Note:
See TracChangeset
for help on using the changeset viewer.