Changeset 33303 for branches/eam_branches/ipp-20111122/Ohana/src/addstar/test/relphot.setphot.parallel.dvo
- Timestamp:
- Feb 17, 2012, 2:42:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/addstar/test/relphot.setphot.parallel.dvo
r33302 r33303 158 158 159 159 # run setphot on the serial db and check that the images now match the expected values 160 exec setphot - update -ubercal testzpt.fits -D CATDIR $catdir160 exec setphot -reset -update -ubercal testzpt.fits -D CATDIR $catdir 161 161 for i 0 mjd_uc[] 162 162 ckexposure $catdir mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i setphot_uc … … 178 178 179 179 # run setphot on the parallel db and check that the images now match the expected values 180 exec setphot - parallel -update -ubercal testzpt.fits -D CATDIR $catdir.p0180 exec setphot -reset -parallel -update -ubercal testzpt.fits -D CATDIR $catdir.p0 181 181 182 182 # bring the detections back to the local db 183 exec dvodist -in $catdir.p0 >& log.dvodist.in 183 # exec dvodist -in $catdir.p0 >& log.dvodist.in 184 # XXX this should now not be needed 184 185 185 186 # check the results … … 190 191 ckexposure $catdir.p0 mjd_nc[$i] zpt_nc[$i] exptime_nc[$i] airmass_nc[$i] $filt_nc:$i setphot_nc 191 192 end 192 193 # push the detections back out to the parallel db194 exec dvodist -out $catdir.p0 >& log.dvodist.in195 193 196 194 # run relphot on the parallel db and check that the images now match the expected values 197 195 exec relphot -parallel g,r,i -v -region 9.5 10.5 19.5 20.5 -D CATDIR $catdir.p0 -D STAR_TOOFEW 1 -D SIGMA_LIM 0.07 -statmode WT_MEAN -cloud-limit 0.5 -keep-ubercal -D IMAGE_OFFSET 0.5 -update >& log.relphot.p0 198 196 199 # bring the detections back to the local db200 exec dvodist -in $catdir.p0 >& log.dvodist.in201 202 197 for i 0 mjd_uc[] 203 198 ckexposure $catdir.p0 mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i relphot … … 208 203 209 204 tapDONE 205 end 206 207 macro qt 208 209 ## SER 210 211 # run setphot on the serial db and check that the images now match the expected values 212 exec setphot -reset -update -ubercal testzpt.fits -D CATDIR $catdir 213 for i 0 mjd_uc[] 214 ckexposure $catdir mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i setphot_uc 215 end 216 for i 0 mjd_nc[] 217 ckexposure $catdir mjd_nc[$i] zpt_nc[$i] exptime_nc[$i] airmass_nc[$i] $filt_nc:$i setphot_nc 218 end 219 220 # run relphot on the serial db and check that the images now match the expected values 221 exec relphot g,r,i -v -region 9.5 10.5 19.5 20.5 -D CATDIR $catdir -D STAR_TOOFEW 1 -D SIGMA_LIM 0.07 -statmode WT_MEAN -cloud-limit 0.5 -keep-ubercal -D IMAGE_OFFSET 0.5 -update >& log.relphot.s0 222 for i 0 mjd_uc[] 223 ckexposure $catdir mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i relphot 224 end 225 for i 0 mjd_nc[] 226 ckexposure $catdir mjd_nc[$i] zpt_nc[$i] exptime_nc[$i] airmass_nc[$i] $filt_nc:$i relphot 227 end 228 229 ## PAR 230 231 # run setphot on the parallel db and check that the images now match the expected values 232 exec setphot -reset -parallel -update -ubercal testzpt.fits -D CATDIR $catdir.p0 233 234 # check the results 235 for i 0 mjd_uc[] 236 ckexposure $catdir.p0 mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i setphot_uc 237 end 238 for i 0 mjd_nc[] 239 ckexposure $catdir.p0 mjd_nc[$i] zpt_nc[$i] exptime_nc[$i] airmass_nc[$i] $filt_nc:$i setphot_nc 240 end 241 242 # run relphot on the parallel db and check that the images now match the expected values 243 exec relphot -parallel g,r,i -v -region 9.5 10.5 19.5 20.5 -D CATDIR $catdir.p0 -D STAR_TOOFEW 1 -D SIGMA_LIM 0.07 -statmode WT_MEAN -cloud-limit 0.5 -keep-ubercal -D IMAGE_OFFSET 0.5 -update >& log.relphot.p0 244 245 for i 0 mjd_uc[] 246 ckexposure $catdir.p0 mjd_uc[$i] zpt_uc[$i] exptime_uc[$i] airmass_uc[$i] $filt_uc:$i relphot 247 end 248 for i 0 mjd_nc[] 249 ckexposure $catdir.p0 mjd_nc[$i] zpt_nc[$i] exptime_nc[$i] airmass_nc[$i] $filt_nc:$i relphot 250 end 210 251 end 211 252
Note:
See TracChangeset
for help on using the changeset viewer.
