Changeset 34870 for trunk/tools/run.setphot
- Timestamp:
- Dec 21, 2012, 2:59:50 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/tools/run.setphot (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/run.setphot
r34869 r34870 1 1 #!/bin/csh -f 2 2 3 set ubercal = ucalqv_noref.fits 4 set catdir_3pi = ../3pi.20111229/catdir.3pi 3 if ($#argv != 1) then 4 echo "USAGE: run.setphot (catdir)" 5 exit 2 6 endif 5 7 6 echo -n "--- starting setphot $catdir_3pi ---"; date 8 set REALRUN = 0 9 10 set catdir = $argv[1] 11 set ubercal = ~ipp/ucalqw_noref.fits 12 13 alias run.setphot \ 14 'echo -n "--- starting setphot $catdir --- "; date; \ 15 echo setphot $options -D CATDIR $catdir $ubercal; \ 16 if ($REALRUN) setphot $options -D CATDIR $catdir $ubercal' 17 18 set options = "" 19 set options = "$options -update" 20 set options = "$options -ubercal" 21 set options = "$options -no-metadata" 22 23 # activate parallel mode when catdir is parallel 24 # set options = "$options -parallel" 25 26 # the new ubercal file includes Eddie's offsets relative to JT (so, no need to supply -zpt-offsets) 27 run.setphot 28 if ($status) then 29 echo "failed setphot" 30 echo -n "--- done with setphot ---"; date 31 exit 1 32 endif 33 echo -n "--- done with setphot ---"; date 34 exit 0 35 7 36 8 37 # old command lines with zpt offsets … … 10 39 # setphot -images-only -parallel -reset -zpt-offsets g,r,i,z,y -0.013,+0.012,+0.001,-0.016,-0.021 -update -ubercal -no-metadata -D CATDIR $catdir_3pi $ubercal 11 40 12 # the new ubercal file includes Eddie's offsets relative to JT (so, no need to supply -zpt-offsets)13 echo setphot -parallel -update -ubercal -no-metadata -D CATDIR $catdir_3pi $ubercal14 setphot -parallel -update -ubercal -no-metadata -D CATDIR $catdir_3pi $ubercal15 if ($status) then16 echo "failed setphot"17 endif18 echo -n "--- done with setphot ---"; date
Note:
See TracChangeset
for help on using the changeset viewer.
