- Timestamp:
- Jan 15, 2013, 8:37:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/test/mkcatdir.dvo
r34922 r34936 38 38 mkinput $offset:$i 39 39 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 40 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 40 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 41 41 end 42 42 43 exec relphot -D CATDIR catdir.test r -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -update -nloop 10.0 >& /dev/null 43 break -auto off 44 echo dbadmin.sh delete localhost dvotest dvo dvo 45 exec dbadmin.sh delete localhost dvotest dvo dvo 46 break -auto on 44 47 45 catdir catdir.test46 skyregion {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0}48 echo dbadmin.sh create localhost dvotest dvo dvo 49 exec dbadmin.sh create localhost dvotest dvo dvo 47 50 48 imextract time Mcal 51 echo dvopsps -D CATDIR catdir.test -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -dbhost localhost -dbname dvotest -dbuser dvo -dbpass dvo 52 exec dvopsps -D CATDIR catdir.test -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -dbhost localhost -dbname dvotest -dbuser dvo -dbpass dvo 49 53 50 for i 0 $offset:n 51 tapOK {abs(Mcal[$i] - Mcal[0] - $offset:$i) < 0.001} "Mcal $i" 52 end 53 54 exec rm test.cmf test.in.txt 55 exec rm -r catdir.test 54 # for i 0 $offset:n 55 # tapOK {abs(Mcal[$i] - Mcal[0] - $offset:$i) < 0.001} "Mcal $i" 56 # end 56 57 57 58 tapDONE
Note:
See TracChangeset
for help on using the changeset viewer.
