IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36104 for trunk/pstamp


Ignore:
Timestamp:
Sep 10, 2013, 12:32:12 PM (13 years ago)
Author:
bills
Message:

For stack_summary stage support requests for exp and num jpeg images.
Note that no way to request the jpegs for the weight and fits images.
I assert that these are not generally useful. To get them one must request bundles

Location:
trunk/pstamp
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_job_run.pl

    r36059 r36104  
    236236                           $PSTAMP_SELECT_JPEG     => 'jpg',
    237237                           $PSTAMP_SELECT_EXP      => 'exp.fits',
    238                            $PSTAMP_SELECT_NUM      => 'num.fits');
     238                           $PSTAMP_SELECT_NUM      => 'num.fits',
     239                           $PSTAMP_SELECT_EXPJPEG  => 'exp.jpg',
     240                           $PSTAMP_SELECT_NUMJPEG  => 'num.jpg');
    239241
    240242        my $output_mask = $options & ($PSTAMP_SELECT_IMAGE | $PSTAMP_SELECT_MASK | $PSTAMP_SELECT_VARIANCE
    241             | $PSTAMP_SELECT_JPEG | $PSTAMP_SELECT_SOURCES | $PSTAMP_SELECT_EXP | $PSTAMP_SELECT_NUM);
     243            | $PSTAMP_SELECT_JPEG | $PSTAMP_SELECT_SOURCES
     244            | $PSTAMP_SELECT_EXP | $PSTAMP_SELECT_NUM
     245            | $PSTAMP_SELECT_EXPJPEG | $PSTAMP_SELECT_NUMJPEG);
     246
    242247
    243248        foreach my $key (keys (%extensions)) {
     
    573578    $params->{exp}    = $path_base . ".exp.b1.fits";
    574579    $params->{num}    = $path_base . ".num.b1.fits";
     580    $params->{expjpeg} = $path_base . ".exp.0.b1.jpeg";
     581    $params->{numjpeg} = $path_base . ".num.0.b1.jpeg";
    575582}
    576583
     
    632639        if (!myCopy("$outputBase.num.fits", $params->{num}, 'num', 0)) {
    633640            $options &= ~$PSTAMP_SELECT_NUM;
     641        }
     642    }
     643    if ($options & $PSTAMP_SELECT_EXPJPEG) {
     644        if (!myCopy("$outputBase.exp.jpg", $params->{expjpeg}, 'exp', 0)) {
     645            $options &= ~$PSTAMP_SELECT_EXPJPEG;
     646        }
     647    }
     648    if ($options & $PSTAMP_SELECT_NUMJPEG) {
     649        if (!myCopy("$outputBase.num.jpg", $params->{numjpeg}, 'num', 0)) {
     650            $options &= ~$PSTAMP_SELECT_NUMJPEG;
    634651        }
    635652    }
  • trunk/pstamp/test/gpc1/stacksummary.bycoord.txt

    r36043 r36104  
    44CHANGEME 2 PROCESS null
    55#  ROWNUM CENTER_X CENTER_Y WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT SURVEY_NAME IPP_RELEASE REQ_TYPE IMG_TYPE ID TESS_ID COMPONENT DATA_GROUP REQFILT MJD_MIN MJD_MAX RUN_TYPE FWHM_MIN FWHM_MAX | COMMENT
    6 1     359.767   -30.2009     100    100   2      stamp      455         gpc1      3PI         null     bycoord   stack_summary  null RINGS.V3 null   LAP.ThreePI.20130717%      r        0      0        null      0        0    |
     61     359.767   -30.2009     100    100   2      stamp      1        gpc1      3PI         null     bycoord   stack_summary  null RINGS.V3 null   LAP.ThreePI.20130717%      r        0      0        null      0        0    |
Note: See TracChangeset for help on using the changeset viewer.