IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40269 for trunk


Ignore:
Timestamp:
Dec 12, 2017, 8:28:00 AM (9 years ago)
Author:
eugene
Message:

fix file names inserted into db

File:
1 edited

Legend:

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

    r40264 r40269  
    2626$CMFFORMAT = PS1_V5
    2727$DIFFORMAT = PS1_DV5
    28 
    2928
    3029# a note on double quotes and TESS_ID:
     
    9291  exec dvomerge -matched-tables testdata/catdir.wrp into testdata/catdir.mrg
    9392
     93  # basic relphot calibration, imitating the original PV3.3 calibration
     94  echo relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -use-mcal-psf-for-stack-aper
     95  exec relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -use-mcal-psf-for-stack-aper
     96
     97  # test parallel-regions version, updating only stacks and warps, and applying the McalPSF vs McalAPER
    9498  exec cp RegionHost.dat testdata/catdir.mrg
    9599
    96 # test parallel-regions version:
    97 # exec relphot -parallel-regions -region-hosts RegionHost.dat -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -imfreeze -mosfreeze -only-stacks-and-warps -update-catformat PS1_V6
    98 
    99   echo relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1
    100   # exec relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1
     100  # XXX parallel version is not setting the format in my local build
     101  # echo relphot -parallel-regions -region-hosts RegionHost.dat -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv g,r -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -imfreeze -mosfreeze -only-stacks-and-warps -update-catformat PS1_V6 -nloop 0
     102
     103  echo relphot -images -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv g,r -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -imfreeze -mosfreeze -only-stacks-and-warps -update-catformat PS1_V6 -nloop 0
     104  exec relphot -images -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv g,r -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -imfreeze -mosfreeze -only-stacks-and-warps -update-catformat PS1_V6 -nloop 0
    101105end
    102106
     
    352356    $stkID = $word:1
    353357    sprintf rawfile "%s.%02d.txt" $word:2 $ID; # use the cam-stage rawfile
    354     sprintf cmffile "%s.%02d.smf" $word:6 $ID
     358    sprintf cmffile "%s.%02d.cmf" $word:6 $ID
    355359    $offset = $word:3
    356360    sprintf myDATE "%s" $word:4
     
    508512    sprintf myTIME "%s" $tmp:5
    509513
    510     $expfile = $tmp:2
     514#   sprintf rawfile "%s.%02d.txt" $tmp:2 $ID
     515    sprintf expfile "%s.%02d" $tmp:2 $expID
     516    sprintf wrpfile "%s.%02d" $tmp:6 $expID
     517
    511518    $myFilter  = $tmp:7
    512519    insert.exp $expID $expfile $myFilter
     
    516523    end
    517524
    518     $wrpfile = $tmp:6
    519525    insert.wrp $expID $stkID $wrpfile
    520526
     
    628634    $stkID = $word:0
    629635    $skyID = $word:1
    630     sprintf cmffile "%s.%02d.cmf" $word:2 $stkID
     636    sprintf cmffile "%s.%02d" $word:2 $stkID
    631637    $filter = $word:4
    632638
Note: See TracChangeset for help on using the changeset viewer.