Index: /branches/eam_branches/ipp-pstamp-20260421/pstamp/test/pstamptest.run.sh
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/pstamp/test/pstamptest.run.sh	(revision 43105)
+++ /branches/eam_branches/ipp-pstamp-20260421/pstamp/test/pstamptest.run.sh	(revision 43106)
@@ -16,35 +16,37 @@
 if (0) then
   # by exp_name (raw & chip)
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 51 --height 51 --req_type byexp --stage raw  --id sim.003.001 --component XY00 --survey bypass --jpeg --allroi
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byexp --stage chip --id sim.003.000 --component XY00 --survey bypass --jpeg --allroi
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 10 --height 10 --req_type byexp --stage warp --id sim.003.005 --component skycell.1 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 51 --height 51 --req_type byexp --stage raw  --id sim.003.000 --component XY00      --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byexp --stage chip --id sim.003.000 --component XY00      --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 10 --height 10 --req_type byexp --stage warp --id sim.003.000 --component skycell.1 --survey bypass --jpeg --allroi
 
   # by database ID (chip, warp, stack)
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byid --stage chip  --id 20 --component XY00 --survey bypass --jpeg --allroi
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 51 --height 51 --req_type byid --stage warp  --id 18 --component skycell.1 --survey bypass --jpeg --allroi
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byid --stage stack --id 13 --survey bypass --jpeg --allroi
-  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 51 --height 51 --req_type byid --stage diff  --id 11 --component skycell.8 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byid --stage chip  --id 1 --component XY00      --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 51 --height 51 --req_type byid --stage warp  --id 1 --component skycell.0 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 100 --y 100  --width 10 --height 10 --req_type byid --stage stack --id 1                       --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --pixcenter --x 426 --y 1017 --width 51 --height 51 --req_type byid --stage diff  --id 1 --component skycell.0 --survey bypass --jpeg --allroi
 endif
 
-# select by exposure name, location by coordinates:
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byexp --stage warp --id sim.003.000 --component skycell.4 --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byexp --stage chip --id sim.003.000 --component XY11 --survey bypass --jpeg --allroi 
-
-# select by ID, location by coordinates:
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byid --stage chip  --id 20 --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byid --stage warp  --id 18 --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byid --stage stack --id 13 --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.085154 --dec 30.106472 --width 51 --height 51 --req_type byid --stage diff  --id 11 --component skycell.8 --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.085154 --dec 30.106472 --width 51 --height 51 --req_type byid --stage diff  --id 11 --survey bypass --jpeg --allroi
-
-# select by coords:
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage chip --survey bypass --jpeg --allroi
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage raw  --survey bypass --jpeg --allroi
-
-# this fails if TESS is not defined in the ipprc system (site.config)
-# it also generates 5 of the 6 possible warps (for the basic simmosaic test) because one has no valid pixels at the requested location
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage warp  --survey bypass --jpeg --allroi --tess_id TESS 
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.071935 --dec 30.119980 --width 50 --height 50 --req_type bycoord --stage stack --survey bypass --jpeg --allroi --tess_id TESS 
-# OK pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.085154 --dec 30.106472 --width 50 --height 50 --req_type bycoord --stage diff  --survey bypass --jpeg --allroi --tess_id TESS 
+if (1) then
+  # select by exposure name, location by coordinates:
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byexp --stage chip --id sim.003.000 --component XY11 --survey bypass --jpeg --allroi 
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byexp --stage warp --id sim.003.000 --component skycell.4 --survey bypass --jpeg --allroi
+  
+  # select by ID, location by coordinates:
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byid --stage chip  --id 1 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type byid --stage warp  --id 1 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 269.884646 --dec 29.899950 --width 50 --height 50 --req_type byid --stage stack --id 1 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 269.884646 --dec 29.899950 --width 51 --height 51 --req_type byid --stage diff  --id 1 --component skycell.0 --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 269.884646 --dec 29.899950 --width 51 --height 51 --req_type byid --stage diff  --id 1 --survey bypass --jpeg --allroi
+  
+  # select by coords:
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage chip --survey bypass --jpeg --allroi
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage raw  --survey bypass --jpeg --allroi
+  
+  # this fails if TESS is not defined in the ipprc system (site.config)
+  # it also generates 5 of the 6 possible warps (for the basic simmosaic test) because one has no valid pixels at the requested location
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.016608 --dec 30.026109 --width 50 --height 50 --req_type bycoord --stage warp  --survey bypass --jpeg --allroi --tess_id TESS 
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.071935 --dec 30.119980 --width 50 --height 50 --req_type bycoord --stage stack --survey bypass --jpeg --allroi --tess_id TESS 
+  pstamp_webrequest.pl --label TEST --dbname pstamp --dbserver localhost --username magnier@hawaii.edu --email magnier@hawaii.edu --project simtest --ra 270.085154 --dec 30.106472 --width 50 --height 50 --req_type bycoord --stage diff  --survey bypass --jpeg --allroi --tess_id TESS 
+endif
 
 set reqList = (`pstamptool -pendingreq -dbname pstamp | grep req_id     | awk '{print $3}'`)
