# Sample Postage stamp request description file
# This can be parsed by the program pstamp_req_create to build a 
# PS1_PSTAMP_REQUEST binary table

# First line of data is for the extension header
# The order of keywords follows TABLE 6 of ICD
#
# Note that value for REQ_NAME may be overriden by a command line
# argument to pstamp_req_create allowing this file to be re-used.
# Blank and comment lines are ignored

# REQ_NAME EXTVER
PSREQ00001     1

# subsequent lines define the rows in the table

# ROWNUM PROJECT       JOB_TYPE OPTION_MASK REQ_TYPE IMG_TYPE    ID            CLASS_ID COORD_MASK CENTER_X CENTER_Y WIDTH HEIGHT REQFILT MJD_MIN MJD_MAX
# select by exposure name
1        simtest        stamp      1           byexp    chip   simtest.004.000  null      3       500     500         100    100     null   0    0

# select by database id this happens to select the  same image a row 1 using 'chip_id'
2        simtest        stamp      1           byid     chip      2           null        3       600     500         100    100     null   0    0

# stamp from a chip processed image that resulted in diff_id = 1 sky coords for center, pixels for range
3        simtest        stamp      1           bydiff   chip      1           null        2      270.733 -23.7039     500    500     null   0    0

# ... and the corespoding warp
4        simtest        stamp      1           bydiff   warp      1           null        2      270.733 -23.7039     500    500     null   0    0

# ... and the stack
5        simtest        stamp      1           bydiff   stack     1           null        2      270.733 -23.7039     500    500     null   0    0
