Index: /trunk/pstamp/test/byskycell.txt
===================================================================
--- /trunk/pstamp/test/byskycell.txt	(revision 26139)
+++ /trunk/pstamp/test/byskycell.txt	(revision 26140)
@@ -1,5 +1,4 @@
 # Sample Postage stamp request description file
-# This can be parsed by the program pstamp_req_create to build a 
-# PS1_PSTAMP_REQUEST binary table
+# This can be parsed by the program pstamp_request_file to build a PS1_PSTAMP_REQUEST binary table
 
 # First line of data is for the extension header
@@ -7,5 +6,5 @@
 #
 # Note that value for REQ_NAME may be overriden by a command line
-# argument to pstamp_req_create.
+# argument to pstamp_request_create.
 # Blank and comment lines are ignored
 
Index: /trunk/pstamp/test/ps1-0811001.txt
===================================================================
--- /trunk/pstamp/test/ps1-0811001.txt	(revision 26140)
+++ /trunk/pstamp/test/ps1-0811001.txt	(revision 26140)
@@ -0,0 +1,26 @@
+# Sample Postage stamp request description file
+# This can be parsed by the program pstamp_request_file 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_request_create.
+# Blank and comment lines are ignored
+
+# REQ_NAME      EXTVER
+byskycell_test     1
+
+# subsequent lines define the rows in the table
+
+# If ROWNUM is set to zero, pstamp_request_file will set insert a value for each row beginning with 1
+# If a later input row reuses a value an error is preported
+
+# ID    |     ROI Specification                   |  JOB Specification | Images of interest specification
+# ROWNUM CENTER_X         CENTER_Y         WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT REQ_TYPE IMG_TYPE    ID   TESS_ID COMPONENT    LABEL  REQFILT MJD_MIN MJD_MAX | COMMENT
+#
+0         36.945000     -4.579750          250   250      2        stamp       1        gpc1    byskycell warp     null   MD01   skycell.069  null   g.00000    0      0    | PS1-0811001 g 
+0         36.945000     -4.579750          250   250      2        stamp       1        gpc1    byskycell warp     null   MD01   skycell.069  null   r.00000    0      0    | PS1-0811001 r
+0         36.945000     -4.579750          250   250      2        stamp       1        gpc1    byskycell warp     null   MD01   skycell.069  null   i.00000    0      0    | PS1-0811001 i
+0         36.945000     -4.579750          250   250      2        stamp       1        gpc1    byskycell warp     null   MD01   skycell.069  null   z.00000    0      0    | PS1-0811001 z
+0         36.945000     -4.579750          250   250      2        stamp       1        gpc1    byskycell warp     null   MD01   skycell.069  null   z.00000    0      0    | PS1-0811001 y
Index: /trunk/pstamp/test/ps1-0905001-all.txt
===================================================================
--- /trunk/pstamp/test/ps1-0905001-all.txt	(revision 26140)
+++ /trunk/pstamp/test/ps1-0905001-all.txt	(revision 26140)
@@ -0,0 +1,49 @@
+# Sample Postage stamp request description file
+# This can be parsed by the program pstamp_request_file 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_request_create.
+# Blank and comment lines are ignored
+
+# REQ_NAME      EXTVER
+byskycell_test     1
+
+# subsequent lines define the rows in the table
+
+# If ROWNUM is set to zero, pstamp_request_file will set insert a value for each row beginning with 1
+# If a later input row reuses one of the automatically assigned values an error is reported.
+
+
+# ID    |     ROI Specification                   |  JOB Specification | Images of interest specification
+# ROWNUM CENTER_X         CENTER_Y         WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT REQ_TYPE IMG_TYPE    ID   TESS_ID COMPONENT    LABEL     REQFILT MJD_MIN MJD_MAX | COMMENT
+#
+# various looks at the location of SN candidate PS1-0905001
+1         243.035580     55.128140          250   250      2        stamp       7        gpc1    byid     raw   70853         null   null       null        null    0      0    |PS1-0905001 r
+2         243.035580     55.128140          250   250      2        stamp       7        gpc1    byid     chip  20272         null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+
+# 3 and 4 will fail because the weight images was damaged by the destreaking
+# process
+3         243.035580     55.128140          250   250      2        stamp       7        gpc1    byid     warp  6323          null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+4         243.035580     55.128140          250   250      2        stamp       7        gpc1    byid     diff  16880         null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+# these will work
+103       243.035580     55.128140          250   250      2        stamp       3        gpc1    byid     warp  6323          null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+104       243.035580     55.128140          250   250      2        stamp       3        gpc1    byid     diff  16880         null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+
+5         243.035580     55.128140          250   250      2        stamp       7        gpc1    byid     stack 14032         null   null  null             null    0      0    |PS1-0905001 r
+
+6         243.035580     55.128140          250   250      2        stamp       1        gpc1    byexp    raw   o4973g0133o   null   null       null        null    0      0    |PS1-0905001 r
+7         243.035580     55.128140          250   250      2        stamp       1        gpc1    byexp    chip  o4973g0133o   null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+8         243.035580     55.128140          250   250      2        stamp       1        gpc1    byexp    warp  o4973g0133o   null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+9         243.035580     55.128140          250   250      2        stamp       1        gpc1    byexp    diff  o4973g0133o   null   null  MD08.200905.v1   null    0      0    |PS1-0905001 r
+
+
+# this should find warp 6323 givin the time cuts
+10        243.035580     55.128140          250   250      2        stamp       1        gpc1    bycoord  warp  null          null   null  MD08.200905.v1   null  54973.53543 54973.5368 |PS1-0905001 r
+
+11        243.035580     55.128140          250   250      2        stamp       1        gpc1    bydiff   chip  194350        null   null      null         null    0      0    |PS1-0905001 r
+12        243.035580     55.128140          250   250      2        stamp       1        gpc1    bydiff   warp  194350        null   null      null         null    0      0    |PS1-0905001 r
+13        243.035580     55.128140          250   250      2        stamp       1        gpc1    bydiff   diff  194350        null   null      null         null    0      0    |PS1-0905001 r
+
Index: /trunk/pstamp/test/ps1-0905001-diff.txt
===================================================================
--- /trunk/pstamp/test/ps1-0905001-diff.txt	(revision 26140)
+++ /trunk/pstamp/test/ps1-0905001-diff.txt	(revision 26140)
@@ -0,0 +1,22 @@
+# Sample Postage stamp request description file
+# This can be parsed by the program pstamp_request_file 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_request_create.
+# Blank and comment lines are ignored
+
+# REQ_NAME      EXTVER
+byskycell_test     1
+
+# subsequent lines define the rows in the table
+
+# If ROWNUM is set to zero, pstamp_request_file will set insert a value for each row beginning with 1
+# If a later input row reuses a value an error is preported
+
+# ID    |     ROI Specification                   |  JOB Specification | Images of interest specification
+# ROWNUM CENTER_X         CENTER_Y         WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT REQ_TYPE IMG_TYPE    ID   TESS_ID COMPONENT    LABEL  REQFILT MJD_MIN MJD_MAX | COMMENT
+#
+1         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell diff     null   MD08   skycell.078  null   r.00000  54972    55000 | PS1-0905001 r
Index: /trunk/pstamp/test/ps1-0905001-warp.txt
===================================================================
--- /trunk/pstamp/test/ps1-0905001-warp.txt	(revision 26140)
+++ /trunk/pstamp/test/ps1-0905001-warp.txt	(revision 26140)
@@ -0,0 +1,26 @@
+# Sample Postage stamp request description file
+# This can be parsed by the program pstamp_request_file 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_request_create.
+# Blank and comment lines are ignored
+
+# REQ_NAME      EXTVER
+byskycell_test     1
+
+# subsequent lines define the rows in the table
+
+# If ROWNUM is set to zero, pstamp_request_file will set insert a value for each row beginning with 1
+# If a later input row reuses a value an error is preported
+
+# ID    |     ROI Specification                   |  JOB Specification | Images of interest specification
+# ROWNUM CENTER_X         CENTER_Y         WIDTH HEIGHT COORD_MASK JOB_TYPE OPTION_MASK PROJECT REQ_TYPE IMG_TYPE    ID   TESS_ID COMPONENT    LABEL  REQFILT MJD_MIN MJD_MAX | COMMENT
+#
+0         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell warp     null   MD08   skycell.078  null   g.00000    0      0    | PS1-0905001 g 
+0         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell warp     null   MD08   skycell.078  null   r.00000    0      0    | PS1-0905001 r
+0         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell warp     null   MD08   skycell.078  null   i.00000    0      0    | PS1-0905001 i
+0         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell warp     null   MD08   skycell.078  null   z.00000    0      0    | PS1-0905001 z
+0         243.035580     55.128140          250   250      2        stamp       1        gpc1    byskycell warp     null   MD08   skycell.078  null   z.00000    0      0    | PS1-0905001 y
