Changeset 17116 for trunk/DataCheck/Processing
- Timestamp:
- 09/06/13 18:08:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawData.sh
r15593 r17116 20 20 #skipmd5sum="yes" # do not fill md5 sums in any case #new default since 2012/06/05 when the checksum is available in heaser 21 21 22 doupdate="yes" # update all entries 23 doupdate="no" # fill only entries which are not yet existing #default 22 # option whether to fill all row or only those where information is missing 23 # $doupdate might be given as environment variable 24 if [ "$doupdate" = "" ] 25 then 26 doupdate="yes" # update all entries (needed when new fields have been added) 27 doupdate="no" # fill only entries which are not yet existing (default) 28 fi 29 24 30 25 31 root=/opt/root_svn/bin/thisroot.sh … … 55 61 fi 56 62 57 # get last 3, 6 or 9 nights 58 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` \ 59 `date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \ 60 # `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 61 ) 62 #dates=( `find /loc_data/zipraw/ -mindepth 3 -type d | sort | sed -e 's/\/loc_data\/zipraw\///g'` ) #all available dates in /loc_data/zipraw 63 #dates=( `find /loc_data/aux/ -mindepth 3 -type d | sort | sed -e 's/\/loc_data\/aux\///g'` ) #all available dates in /loc_data/zipraw 64 65 #dates=( "2013/03/30" ) 63 # get dates 64 if [ "$certaindate" != "" ] 65 then 66 getdates $certaindate 67 else 68 # get all night 69 #getdates "all" 70 # get last 6 nights if hour between 7 and 19h, else only current night 71 getdates 6 7 19 72 fi 66 73 67 74 # do check for rawfiles of these dates
Note:
See TracChangeset
for help on using the changeset viewer.