Changeset 34405 for trunk/Ohana/src/addstar/test/simple.dvo
- Timestamp:
- Sep 5, 2012, 4:25:56 PM (14 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/addstar/test/simple.dvo (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo set to
-
trunk/Ohana/src/addstar/test/simple.dvo
r34260 r34405 4 4 5 5 macro test.all 6 # test.fields (DVO schema) (CMF format) 6 7 test.fields PS1_DEV_0 PS1_V1 7 8 test.fields PS1_DEV_1 PS1_V1 … … 9 10 test.fields PS1_V2 PS1_V1 10 11 test.fields PS1_V3 PS1_V1 12 test.fields PS1_V4 PS1_V1 11 13 12 14 test.fields PS1_DEV_0 PS1_V2 … … 15 17 test.fields PS1_V2 PS1_V2 16 18 test.fields PS1_V3 PS1_V2 19 test.fields PS1_V4 PS1_V4 17 20 18 21 test.fields PS1_DEV_0 PS1_V3 … … 21 24 test.fields PS1_V2 PS1_V3 22 25 test.fields PS1_V3 PS1_V3 26 test.fields PS1_V4 PS1_V4 23 27 24 28 test.fields PS1_DEV_0 PS1_V4 … … 27 31 test.fields PS1_V2 PS1_V4 28 32 test.fields PS1_V3 PS1_V4 33 test.fields PS1_V4 PS1_V4 29 34 end 30 35 … … 36 41 end 37 42 38 tapPLAN 51 43 echo "" 44 echo "testing --- CMF = $1, DVO = $2 ---" 39 45 40 46 exec rm -rf catdir.test … … 45 51 mkinput 46 52 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 47 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 53 if ($TAP_VERBOSE) 54 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 55 else 56 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass >& tmp.log 57 end 48 58 49 59 list testfields -copy testfields_$1 60 61 # set the number of tests based on the testfields list 62 tapPLAN {3 + 3*($testfields:n - 1)} 50 63 51 64 catdir catdir.test … … 77 90 for i 1 $testfields:n 78 91 list name -split $testfields:$i 79 if ("$name:0" == "SKIP") continue 80 if ("$name:2" == "SKIP") continue 92 if ("$name:0" == "SKIP") 93 tapSKIP 3 94 continue 95 end 96 if ("$name:2" == "SKIP") 97 tapSKIP 3 98 continue 99 end 81 100 # must be the same length 82 101 set v1 = $name:0 … … 106 125 # THETA is stored to only (360/65536) deg accuracy 107 126 if ("$name:0" == "PSF_THETA") 108 echo $MEAN127 # echo $MEAN 109 128 tapOK {abs($MEAN) < 0.006} "$name:0 vs $name:2 (MEAN)" 110 129 tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA)" … … 304 323 N_FRAMES : SKIP # not ingested into DVO 305 324 end 325 326 # this list is good for PS1_V4 327 list testfields_PS1_V4 328 IPP_IDET : detid 329 X_PSF : xccd 330 Y_PSF : yccd 331 X_PSF_SIG : xccd:err # FAIL 332 Y_PSF_SIG : yccd:err # FAIL 333 POSANGLE : SKIP # astrometry is not calibrated in the cmf 334 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 335 PSF_INST_MAG : mag:inst 336 PSF_INST_MAG_SIG : mag:err 337 PSF_INST_FLUX : SKIP # not ingested into DVO 338 PSF_INST_FLUX_SIG : SKIP # not ingested into DVO 339 AP_MAG_STANDARD : mag:aperinst # FAIL 340 AP_MAG_RAW : SKIP # not ingested into DVO 341 AP_MAG_RADIUS : SKIP # not ingested into DVO 342 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 343 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 344 RA_PSF : SKIP # astrometry is not calibrated in the cmf 345 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 346 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 347 SKY : sky 348 SKY_SIG : sky_err 349 PSF_CHISQ : psf_chisq 350 CR_NSIGMA : cr_nsigma 351 EXT_NSIGMA : ext_nsigma 352 PSF_MAJOR : FWHM_MAJ 353 PSF_MINOR : FWHM_MIN 354 PSF_THETA : THETA # FAIL 355 PSF_QF : PSF_QF 356 PSF_QF_PERFECT : SKIP # not ingested into DVO 357 PSF_NDOF : PSF_NDOF 358 PSF_NPIX : PSF_NPIX 359 MOMENTS_XX : MXX 360 MOMENTS_XY : MXY 361 MOMENTS_YY : MYY 362 MOMENTS_M3C : SKIP # not ingested into DVO 363 MOMENTS_M3S : SKIP # not ingested into DVO 364 MOMENTS_M4C : SKIP # not ingested into DVO 365 MOMENTS_M4S : SKIP # not ingested into DVO 366 MOMENTS_R1 : SKIP # not ingested into DVO 367 MOMENTS_RH : SKIP # not ingested into DVO 368 KRON_FLUX : mag:kroninst 369 KRON_FLUX_ERR : mag:kronerr 370 KRON_FLUX_INNER : SKIP # not ingested into DVO 371 KRON_FLUX_OUTER : SKIP # not ingested into DVO 372 FLAGS : phot_flags 373 N_FRAMES : SKIP # not ingested into DVO 374 end
Note:
See TracChangeset
for help on using the changeset viewer.
