Changeset 9196 for trunk/MagicSoft


Ignore:
Timestamp:
12/22/08 14:47:10 (16 years ago)
Author:
snruegam
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9195 r9196  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2008/12/22 Stefan Ruegamer
     22
     23   * datacenter/macros/doexclusions.C
     24     - added telescope number where missing
     25
     26   * datacenter/scripts/movingrawfiles
     27     - added moving of zipped rawfiles
     28
     29
    2030
    2131 2008/12/21 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C

    r9006 r9196  
    3636// the macro can be executed either for a night or for a range of runnumbers
    3737// or for all nights
    38 // .x doexclusions.C+("night")
    39 // .x doexclusions.C+(startrun,stoprun)
     38// .x doexclusions.C+("night", telnum)
     39// .x doexclusions.C+(startrun,stoprun, telnum)
    4040// .x doexclusions.C+
    4141//
     
    121121    cout << "Connected to " << serv.GetName() << endl;
    122122    cout << "Date:      " << date << endl;
     123    cout << "Telescope: " << tel << endl;
    123124
    124125    serv.SetIsDummy(dummy);
     
    185186        {
    186187            TString vars(Form("fExcludedFDAKEY=%s", key.Data()));
    187             TString where(Form("fRunNumber=%s AND fFileNumber=%s", (*row2)[0], (*row2)[1]));
     188            TString where(Form("fRunNumber=%s AND fFileNumber=%s AND fTelescopeNumber=%d", (*row2)[0], (*row2)[1], tel));
    188189
    189190            if (serv.Update("RunData", vars, where)==kFALSE)
  • trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles

    r9091 r9196  
    5252
    5353# find rawfiles belonging to tape (don't move files not yet md5-sum checked)
    54 rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*.raw' -type f -user tape`
     54rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*.(raw)?raw.gz' -type f -user tape`
    5555
    5656if [ "$rawfiles" == "" ]
Note: See TracChangeset for help on using the changeset viewer.