IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2012, 3:03:26 PM (14 years ago)
Author:
eugene
Message:

add tests for PS1_V3; add tests for flat-field correction & ubercal; add tests for parallel dvo; fix up WISE ingest; fix up superCOSMOS ingest; improvements to mkcmf for more detailed testing

Location:
trunk/Ohana/src/addstar/test
Files:
2 edited
6 copied

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/test/simple.dvo

    r27582 r33653  
    88  test.fields PS1_V1    PS1_V1
    99  test.fields PS1_V2    PS1_V1
     10  test.fields PS1_V3    PS1_V1
    1011
    1112  test.fields PS1_DEV_0 PS1_V2
     
    1314  test.fields PS1_V1    PS1_V2
    1415  test.fields PS1_V2    PS1_V2
     16  test.fields PS1_V3    PS1_V2
     17
     18  test.fields PS1_DEV_0 PS1_V3
     19  test.fields PS1_DEV_1 PS1_V3
     20  test.fields PS1_V1    PS1_V3
     21  test.fields PS1_V2    PS1_V3
     22  test.fields PS1_V3    PS1_V3
    1523end 
    1624
     
    3139  mkinput
    3240  exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1
    33   exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2
     41  exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    3442
    3543  list testfields -copy testfields_$1
     
    220228  N_FRAMES          : SKIP # no accessor       
    221229end
     230
     231# this list is good for PS1_V3
     232list testfields_PS1_V3
     233  IPP_IDET          : detid     
     234  X_PSF             : xccd     
     235  Y_PSF             : yccd     
     236  X_PSF_SIG         : xccd:err # FAIL
     237  Y_PSF_SIG         : yccd:err # FAIL
     238  RA_PSF            : SKIP # astrometry is not calibrated in the cmf
     239  DEC_PSF           : SKIP # astrometry is not calibrated in the cmf
     240  POSANGLE          : SKIP # astrometry is not calibrated in the cmf
     241  PLTSCALE          : SKIP # astrometry is not calibrated in the cmf
     242  PSF_INST_MAG      : mag:inst 
     243  PSF_INST_MAG_SIG  : mag:err   
     244  AP_MAG_STANDARD   : mag:ap # FAIL
     245  AP_MAG_RADIUS     : SKIP # no accessor
     246  PEAK_FLUX_AS_MAG  : SKIP # no accessor
     247  CAL_PSF_MAG       : SKIP # photometry is not calibrated in the cmf
     248  CAL_PSF_MAG_SIG   : SKIP # photometry is not calibrated in the cmf
     249  SKY               : sky       
     250  SKY_SIG           : sky_err   
     251  PSF_CHISQ         : psf_chisq
     252  CR_NSIGMA         : cr_nsigma
     253  EXT_NSIGMA        : ext_nsigma
     254  PSF_MAJOR         : FWHM_MAJ 
     255  PSF_MINOR         : FWHM_MIN 
     256  PSF_THETA         : THETA # FAIL
     257  PSF_QF            : PSF_QF   
     258  PSF_NDOF          : SKIP # no accessor
     259  PSF_NPIX          : SKIP # no accessor
     260  MOMENTS_XX        : SKIP # no accessor
     261  MOMENTS_XY        : SKIP # no accessor
     262  MOMENTS_YY        : SKIP # no accessor
     263  FLAGS             : phot_flags
     264  N_FRAMES          : SKIP # no accessor       
     265end
  • trunk/Ohana/src/addstar/test/tap.dvo

    r27435 r33653  
    11# -*-sh-*-
     2
     3if (not($?TAP_BREAK)) set TAP_BREAK = 0
    24
    35macro tapOK
     
    2931  $TAP_NTEST = $1
    3032  $TAP_NFAIL = 0
     33  $TAP_NSKIP = 0
    3134  $TAP_NDONE = 0
    3235  if (not($?TAP_BREAK)) set TAP_BREAK = 0
     36end
     37
     38macro tapSKIP
     39  if ($0 != 2)
     40    echo "USAGE: tapSKIP (nskip)"
     41    break
     42  end
     43
     44  $TAP_NSKIP ++
     45  $TAP_NDONE ++
    3346end
    3447
     
    4760  end
    4861
    49   if ($TAP_NFAIL == 0)
     62  if ($TAP_NSKIP)
     63    echo "skipped $TAP_NSKIP of $TAP_NDONE"
     64  end
     65
     66  if ($TAP_NFAIL + $TAP_NSKIP == 0)
    5067    echo "passed $TAP_NDONE tests"
    5168  end
Note: See TracChangeset for help on using the changeset viewer.