IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 6 and Version 7 of sample_pstamp_request


Ignore:
Timestamp:
Mar 5, 2010, 12:17:18 PM (16 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sample_pstamp_request

    v6 v7  
    4141# ROWNUM CENTER_X    CENTER_Y  WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT REQ_TYPE IMG_TYPE    ID   TESS_ID COMPONENT    DATA_GROUP  REQFILT MJD_MIN MJD_MAX | COMMENT
    4242#
    43 0       135.49921     34.92035 100    100      2        stamp       1        gpc1    bycoord   chip       null    null   null           null        null 55249   55250   |search by coords (make the server work)
     431       135.49921     34.92035 100    100      2        stamp       1        gpc1    bycoord   chip       null    null   null           null        null 55249   55250   |search by coords (make the server work)
    4444# just change the coordinates for the next request
    45 0       135.63231     34.92165 100    100      2  | different coords in same images of interest
     452       135.63231     34.92165 100    100      2  | different coords in same images of interest
    4646
    47 0       135.49921     34.92035 100    100      2        stamp       1        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |specific image
    48 0       135.49921     34.92035 100    100      2        stamp       3        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |image,mask,and weight
    49 0       135.49921     34.92035 100    100      2        stamp      63        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |image,mask,weight,cmf, psf,backmdl
     473       135.49921     34.92035 100    100      2        stamp       1        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |specific image
     484       135.49921     34.92035 100    100      2        stamp       3        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |image,mask,and weight
     495       135.49921     34.92035 100    100      2        stamp      63        gpc1    byid     chip       62326    null   XY62           null        null   0       0     |image,mask,weight,cmf, psf,backmdl
    5050}}}
    5151
    52 When REQ_MODE is 'byid' the ID column is interpreted as the id of the run that corresponds to the IMG_TYPE (exp_id, chip_id, warp_id, etc.).
    53 If a column with string type is not required for a given request specification it may be given the value 'null'.
    54 For example in row 12 component is set to null. This tells the postage stamp server to check all chips
     52The columns in the request file have three purposes
     53 * Define the "Region of Interest"
     54 * Define the "Images of Interest"
     55 * Specify what the job does
    5556
    56 Most of these request specifications only request stamps from the image (OPTION_MASK = 1).
    57 An exception is row 12 which has OPTION_MASK = 7. This requests stamps from the mask and variance images be made as well.
    58 Soon more bits of this this column will be used to select other output products (psf files for example).
     57The region of interest has a center and width and height. The center may be given in either sky coordinates (RA and DEC) or
     58in pixels. How these columns are interpreted depends on the value of the COORD_MASK. The usage of COORD_MASK is
     59described in detail in the ICD.
    5960
    60 Note that at this time REQ_TYPE bycoord and byskycell have not yet been implemented.
     61These sample requests all use the most commononly used mode (COORD_MASK = 2). This means that center is specified
     62in sky coordinates while width and height are in pixels.
     63
     64The images of interest may be selected in many ways. The REQ_TYPE column has the following values
     65 * byid
     66 * byexp
     67 * byskycell
     68 * bydiff
     69 * bycoord
     70
     71The first sample row is a bycoord request. Requests of this type are currently quite expensive for the postage stamp server
     72to process. Depending on the field they can generate a large number of images of interest (many which are probably not
     73available). 
     74
     75Many of the other columns apply cuts to the images of interest. In the first request MJD_MIN and MJD_MAX are set
     76restricting the look ups to a given date range
     77If a column with string type is not needed for a given request specification it may be given the value 'null'.
     78In the first row ID, TESS_ID, COMPONENT, DATA_GROUP, and REQFILT are null.
     79
     80For the second row we want to just change the coordinates so we just provide the ROI specification.
     81The other paramters will be copied from the previous row.
     82
     83OPTION_MASK is used to select which data products are returned. This value is a bitwise or of the following
     84values
     85
     86 * PSTAMP_SELECT_IMAGE     = 1;
     87 * PSTAMP_SELECT_MASK      = 2;
     88 * PSTAMP_SELECT_VARIANCE  = 4;
     89 * PSTAMP_SELECT_CMF       = 8;
     90 * PSTAMP_SELECT_PSF       = 16;
     91 * PSTAMP_SELECT_BACKMDL   = 32;
     92 * PSTAMP_SELECT_INVERSE   = 1024;
     93 * PSTAMP_SELECT_UNCONV    = 2048;
     94
     95Row 1 selects stamps from the image. Row 3 also requests stamps from the mask and variance images. Row 5
     96requests that the sources (cmf), psf, and background model files from the chipRun be included in the results file set.
     97Note that the region of interest has no effect on these data products. They  are returned in full.
    6198
    6299