- Timestamp:
- May 8, 2015, 2:20:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150419/oofview/scripts/oof.sh
r38253 r38254 7 7 8 8 $srcdir = /local/ipp/psconfig 9 10 $test = 1 9 $dsroot = /export/ippc20.0/ps2-oof/htdocs 10 11 $test = 0 11 12 12 13 if not($?Nrun) set Nrun = 0 … … 16 17 if not($?runstate:n) set runstate:n = 0 17 18 19 if not($?expset) set expset:n = 0 20 if not($?expsetstate) set expsetstate:n = 0 21 18 22 if (not($?ppImageOpts)) 19 23 $ppImageOpts = … … 21 25 $ppImageOpts = $ppImageOpts -recipe PPIMAGE PPIMAGE_DET_ONLY 22 26 $ppImageOpts = $ppImageOpts -F PPIMAGE.OUTPUT PPIMAGE.OUTPUT.NOCOMP 23 $ppImageOpts = $ppImageOpts -Db FLAT F24 $ppImageOpts = $ppImageOpts -Db BASE.FITS T25 27 $ppImageOpts = $ppImageOpts -Db SQUASH.NANS T 26 28 $ppImageOpts = $ppImageOpts -threads 4 … … 41 43 ippc39 42 44 ippc40 45 ippc41 46 ippc42 47 ippc43 48 ippc44 49 ippc45 50 ippc46 51 ippc47 52 ippc48 53 ippc49 54 ippc50 55 ippc51 56 ippc52 57 ippc53 58 ippc54 59 ippc55 60 ippc56 61 ippc57 62 ippc58 63 ippc59 64 end 65 66 macro mknight 67 if ($0 != 2) 68 echo "USAGE: mknight (YYYYMMDD)" 69 break 70 end 71 72 local i expname datename idxname 73 $datename = $1 74 $idxname = $dsroot/gpc2/$datename.idx 75 76 exec wget 'http://dsmaster.ps2/ds/gpc2/index.txt?$datename' -O $idxname 77 list lines -x "grep OOF $idxname" 78 for i 0 $lines:n 79 substr "$lines:$i" 0 11 expname 80 mkcommands neb:///gpc2/$datename/$expname/$expname 81 end 82 end 83 84 macro done.night 85 if ($0 != 2) 86 echo "USAGE: done.night (YYYYMMDD)" 87 break 88 end 89 90 local i expname datename idxname 91 $datename = $1 92 $idxname = $dsroot/gpc2/$datename.idx 93 94 list lines -x "grep OOF $idxname" 95 for i 0 $lines:n 96 substr "$lines:$i" 0 11 expname 97 echo mkoof.sh neb:///gpc2/oof/$datename/$expname/$expname 98 end 43 99 end 44 100 … … 68 124 if ($alldone) 69 125 echo "$expset:$i is DONE" 126 $expsetstate:$i = done 70 127 else 71 128 echo "$expset:$i is not DONE" … … 83 140 for i 0 $expset:n 84 141 $name = $expset:$i 85 echo $expset:$i $ name[]142 echo $expset:$i $expsetstate:$i $name[] 86 143 end 87 144 end … … 112 169 113 170 delete -q $expname 114 list expset -add $expname 171 list expset -add $expname 172 list expsetstate -add run 115 173 116 174 list word -x "neb-ls -c $1%.fits" … … 168 226 end 169 227 end 170
Note:
See TracChangeset
for help on using the changeset viewer.
