IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39105 for trunk


Ignore:
Timestamp:
Nov 11, 2015, 1:10:10 PM (11 years ago)
Author:
eugene
Message:

fix addstar and relphot calls for sas

Location:
trunk/ippToPsps/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/test/mkgpc1data.dvo

    r39052 r39105  
    198198
    199199  if ($SMALLTEST)
    200     echo relphot -D CATDIR $catdir -region 8 12 18 22 -averages -update
    201     exec relphot -D CATDIR $catdir -region 8 12 18 22 -averages -update
     200    echo relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update
     201    exec relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update
     202
     203    echo relastro -v -D CATDIR $catdir -images -update-chips -region 8 12 18 22 -update -apply-offsets
     204    exec relastro -v -D CATDIR $catdir -images -update-chips -region 8 12 18 22 -update -apply-offsets
    202205  else
    203206    echo relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -update
     
    554557  end
    555558  if ($SMALLTEST)
    556     echo relphot -D CATDIR $catdir -region 8 12 18 22 -averages -update
    557     exec relphot -D CATDIR $catdir -region 8 12 18 22 -averages -update
     559    echo relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
     560    exec relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
    558561  else
    559562    echo relphot -D CATDIR $catdir -region 8 12 18 22 -images g,r,i,z,y -update
  • trunk/ippToPsps/test/mksasdata.dvo

    r39096 r39105  
    3636# supply it explicitly here:
    3737list galfiles
    38   sasdata.v39/RINGS.V3.skycell.1315.090.ff.40278.cmf  3942577  g.00000
    39   sasdata.v39/RINGS.V3.skycell.1315.090.ff.40279.cmf  3942578  i.00000
    40   sasdata.v39/RINGS.V3.skycell.1315.090.ff.40280.cmf  3942579  r.00000
    41   sasdata.v39/RINGS.V3.skycell.1315.090.ff.40281.cmf  3942580  y.00000
    42   sasdata.v39/RINGS.V3.skycell.1315.090.ff.40282.cmf  3942581  z.00000
     38  sasdata.v39/RINGS.V3.skycell.1315.090.ff.40278.cmf  3942577  g
     39  sasdata.v39/RINGS.V3.skycell.1315.090.ff.40279.cmf  3942578  i
     40  sasdata.v39/RINGS.V3.skycell.1315.090.ff.40280.cmf  3942579  r
     41  sasdata.v39/RINGS.V3.skycell.1315.090.ff.40281.cmf  3942580  y
     42  sasdata.v39/RINGS.V3.skycell.1315.090.ff.40282.cmf  3942581  z
    4343end
    4444
     
    160160  for i 0 $wrpfiles:n
    161161    $wrpfile = $wrpfiles:$i
    162     echo addstar -D CAMERA gpc1 -D CATDIR $catdir -D CATFORMAT PS1_V5 $wrpfile -update -xrad -accept-astrom
    163     exec addstar -D CAMERA gpc1 -D CATDIR $catdir -D CATFORMAT PS1_V5 $wrpfile -update -xrad -accept-astrom
     162    echo addstar -D CAMERA gpc1 -D CATDIR $catdir -D CATFORMAT PS1_V5 $wrpfile -update -xrad -accept-astrom -D ZERO_POINT_OPTION CHIP_HEADER -D ZERO_POINT_KEYWORD FPA.ZP
     163    exec addstar -D CAMERA gpc1 -D CATDIR $catdir -D CATFORMAT PS1_V5 $wrpfile -update -xrad -accept-astrom -D ZERO_POINT_OPTION CHIP_HEADER -D ZERO_POINT_KEYWORD FPA.ZP
    164164  end
    165165
     
    181181  # run relphot
    182182  # echo relphot -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -images g,r,i,z,y -update -boundary-tree tess.3pi.fits
    183   echo relphot -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -nloop 0 g,r,i,z,y -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits
    184   exec relphot -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -nloop 0 g,r,i,z,y -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits
    185 
    186   echo relastro -v -D CATDIR $catdir -images -update-chips -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update
    187   exec relastro -v -D CATDIR $catdir -images -update-chips -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update
     183  echo relphot -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits
     184  exec relphot -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits
     185
     186  echo relastro -v -D CATDIR $catdir -images -update-chips -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update -apply-offsets
     187  exec relastro -v -D CATDIR $catdir -images -update-chips -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update -apply-offsets
    188188
    189189  echo dvolens -D CATDIR $catdir -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update-objects -update
     
    200200  for i 0 $diffiles:n
    201201    $diffile = $diffiles:$i
    202     echo addstar -D SKY_DEPTH 4 -D CATDIR $catdir_diff -D CATFORMAT PS1_V5 -D CAMERA gpc1 -update $diffile -accept-astrom
    203     exec addstar -D SKY_DEPTH 4 -D CATDIR $catdir_diff -D CATFORMAT PS1_V5 -D CAMERA gpc1 -update $diffile -accept-astrom
     202    echo addstar -D SKY_DEPTH 4 -D CATDIR $catdir_diff -D CATFORMAT PS1_V5 -D CAMERA gpc1 -update $diffile -D ZERO_POINT_OPTION CHIP_HEADER -accept-astrom -D ZERO_POINT_KEYWORD FPA.ZP
     203    exec addstar -D SKY_DEPTH 4 -D CATDIR $catdir_diff -D CATFORMAT PS1_V5 -D CAMERA gpc1 -update $diffile -D ZERO_POINT_OPTION CHIP_HEADER -accept-astrom -D ZERO_POINT_KEYWORD FPA.ZP
    204204    # echo addstar -D CAMERA gpc1 -D CATDIR $catdir -D CATFORMAT PS1_V5 $stkfile -update -quick-airmass -D ZERO_POINT_OPTION CHIP_HEADER
    205205  end
     
    211211
    212212  # run relphot
    213   echo relphot -D CATDIR $catdir_diff -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -averages -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
    214   exec relphot -D CATDIR $catdir_diff -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -averages -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
     213  echo relphot -D CATDIR $catdir_diff -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
     214  exec relphot -D CATDIR $catdir_diff -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN
    215215
    216216  echo relastro -v -D CATDIR $catdir_diff -update-objects -region {$RA_FIELD-5.0} {$RA_FIELD+5.0} {$DEC_FIELD-5.0} {$DEC_FIELD+5.0} -update -D RELASTRO_SRC_MEAS_TOOFEW 0 -D RELASTRO_SIGMA_LIM 0.05 -statmode WTMEAN
Note: See TracChangeset for help on using the changeset viewer.