Changeset 10019 for trunk/Mars
- Timestamp:
- 10/19/10 13:22:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/scripts/writemcsequencefile
r9592 r10019 65 65 sequencefile=$sequencepath/sequence$no2.txt 66 66 67 # data runs 67 68 query="SELECT CONCAT(fRunNumber, '.', RIGHT(fFileNumber, 3)) FROM CeresInfo WHERE fRunTypeKEY=2 AND fSequenceNumber="$sequence 68 69 datruns=`sendquery` 70 if [ "$datruns" = "" ] 71 then 72 printprocesslog "ERROR data runs for sequence "$sequence" are missing in the database " 73 check=2 74 fi 75 # pedestal runs 69 76 query="SELECT CONCAT(fRunNumber, '.', RIGHT(fFileNumber, 3)) FROM CeresInfo WHERE fRunTypeKEY=3 AND fSequenceNumber="$sequence 70 77 pedruns=`sendquery` 78 if [ "$pedruns" = "" ] 79 then 80 printprocesslog "ERROR pedestal runs for sequence "$sequence" are missing in the database " 81 check=2 82 fi 83 # calibration runs 71 84 query="SELECT CONCAT(fRunNumber, '.', RIGHT(fFileNumber, 3)) FROM CeresInfo WHERE fRunTypeKEY=4 AND fSequenceNumber="$sequence 72 85 calruns=`sendquery` 86 if [ "$calruns" = "" ] 87 then 88 printprocesslog "ERROR calibration runs for sequence "$sequence" are missing in the database " 89 check=2 90 fi 73 91 74 92 printprocesslog "INFO writing sequencefile $sequencefile"
Note:
See TracChangeset
for help on using the changeset viewer.