Changeset 34945
- Timestamp:
- Jan 17, 2013, 6:05:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/test/mkgpc1data.dvo
r34934 r34945 31 31 end 32 32 33 macro mkfull 34 init.db 35 mkcatdir.cam PS1_V2 PS1_V2 36 mkcatdir.stk PS1_V2 PS1_V2 37 insert.stack.set 38 end 39 33 40 macro init.db 34 41 … … 75 82 76 83 mkinput $offset $rawfile 77 exec mkcmf $rawfile $cmffile -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 84 exec mkcmf $rawfile $cmffile -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 78 85 exec addstar -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass 79 86 end … … 110 117 111 118 mkinput $offset $rawfile 112 exec mkcmf $rawfile $cmffile -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 119 exec mkcmf $rawfile $cmffile -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 -imageID $ID -sourceID 1 113 120 exec addstar -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass 114 121 end … … 132 139 133 140 # a single exposure 134 dbinsert rawExp (exp_id, exp_name, exp_time, bg, bg_stdev, ra, decl) values ($myID, "test.$myID", 10.0, 100.0, 2.0, $RA, $DEC)141 dbinsert rawExp (exp_id, exp_name, exp_time, bg, bg_stdev, ra, decl) values ($myID, "test.$myID", 10.0, 100.0, 2.0, {$RA*3.1415/180.0}, {$DEC*3.1415/180.0}) 135 142 dbinsert chipRun (exp_id, chip_id) values ($myID, $myID) 136 143 dbinsert camRun (chip_id, cam_id, dist_group, software_ver) values ($myID, $myID, "testgroup", "testsoft") … … 192 199 dbinsert minidvodbProcessed (minidvodb_id, fault) values (1, 0) 193 200 194 dbinsert mergedvodbRun (minidvodb_id, merge_id, state, mergedvodb) values (1, 1, " merged", "catdir.cam")201 dbinsert mergedvodbRun (minidvodb_id, merge_id, state, mergedvodb) values (1, 1, "full", "catdir.cam") 195 202 dbinsert mergedvodbProcessed (merge_id, fault) values (1, 0) 196 203 … … 212 219 213 220 local output 214 $output = $ 1221 $output = $2 215 222 216 223 exec rm -f $output
Note:
See TracChangeset
for help on using the changeset viewer.
