IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43106


Ignore:
Timestamp:
Sep 22, 2026, 3:28:11 PM (41 hours ago)
Author:
eugene
Message:

test webrequests should be valid for a basic simtest run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/pstamp/test/pstamptest.run.sh

    r43092 r43106  
    1616if (0) then
    1717  # by exp_name (raw & chip)
    18   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
    19   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
    20   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
     18  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
     19  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
     20  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
    2121
    2222  # by database ID (chip, warp, stack)
    23   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
    24   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
    25   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
    26   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
     23  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
     24  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
     25  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
     26  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
    2727endif
    2828
    29 # select by exposure name, location by coordinates:
    30 # 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
    31 # 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
    32 
    33 # select by ID, location by coordinates:
    34 # 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
    35 # 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
    36 # 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
    37 # 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
    38 # 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
    39 
    40 # select by coords:
    41 # 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
    42 # 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
    43 
    44 # this fails if TESS is not defined in the ipprc system (site.config)
    45 # it also generates 5 of the 6 possible warps (for the basic simmosaic test) because one has no valid pixels at the requested location
    46 # 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
    47 # 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
    48 # 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
     29if (1) then
     30  # select by exposure name, location by coordinates:
     31  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
     32  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
     33 
     34  # select by ID, location by coordinates:
     35  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
     36  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
     37  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
     38  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
     39  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
     40 
     41  # select by coords:
     42  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
     43  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
     44 
     45  # this fails if TESS is not defined in the ipprc system (site.config)
     46  # it also generates 5 of the 6 possible warps (for the basic simmosaic test) because one has no valid pixels at the requested location
     47  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
     48  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
     49  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
     50endif
    4951
    5052set reqList = (`pstamptool -pendingreq -dbname pstamp | grep req_id     | awk '{print $3}'`)
Note: See TracChangeset for help on using the changeset viewer.