Changeset 18064


Ignore:
Timestamp:
01/04/15 04:53:27 (10 years ago)
Author:
Daniela Dorner
Message:
added new years
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/DataCheck/InfoForMWL.sh

    r15322 r18064  
    2525   #query=$query" CONCAT('#') as Comments"
    2626   #query=$query" CONCAT('# ', Timediff(Max(fRunStop), Min(fRunStart)), ' ontime: ', Convert(Sum(Time_to_sec(Timediff(fRunStop, fRunStart)))/60./60., decimal(2,1))) AS Comments"
    27    query=$query" CONCAT('# ontime: ', Convert(Sum(fOntime)/3600, decimal(2,1)), 'h') AS Comments"
     27   query=$query" IF (ISNULL(Sum(fOnTime)), CONCAT('#'), CONCAT('# ontime: ', Convert(Sum(fOntime)/3600, decimal(2,1)), 'h')) AS Comments"
    2828   query=$query" FROM RunInfo "
    2929   query=$query" WHERE fSourceKEY="$sourcekey
     
    3939}
    4040
     41##mrk501
     42#sourcekey=2
     43#file="Mrk501_FACT_observations_2014.txt"
     44#start=20140101
     45#stop=20141030
     46#get_table
     47#exit
    4148
    4249#mrk421
     
    5865get_table
    5966
     67file="Mrk421_FACT_observations_2013_2014.txt"
     68start=20131001
     69stop=20140930
     70get_table
     71
     72file="Mrk421_FACT_observations_2014_2015.txt"
     73start=20141001
     74stop=20150930
     75get_table
     76
    6077
    6178#mrk501
     
    6784get_table
    6885
    69 file="Mrk501_FACT_observations_2011_2012.txt"
    70 start=20120501 #really started at 19.5.2012
     86file="Mrk501_FACT_observations_2012.txt"
     87start=20120501
    7188stop=20121030
    7289get_table
    7390
    74 file="Mrk501_FACT_observations_2012_2013.txt"
     91file="Mrk501_FACT_observations_2013.txt"
    7592start=20130101
    7693stop=20131030
    7794get_table
    7895
     96file="Mrk501_FACT_observations_2014.txt"
     97start=20140101
     98stop=20141030
     99get_table
     100
     101file="Mrk501_FACT_observations_2015.txt"
     102start=20150101
     103stop=20151030
     104get_table
     105
Note: See TracChangeset for help on using the changeset viewer.