Changeset 20258
- Timestamp:
- Oct 17, 2008, 4:01:46 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/doc/psnotes.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/doc/psnotes.txt
r20257 r20258 344 344 For example 345 345 346 pstamprequest -req_name REQ_00001 -project simtest req.fits \346 pstamprequest -req_name REQ_00001 -project simtest /mydirectory/req.fits \ 347 347 -byexp chip simtest.004.000 null \ 348 348 -pixcenter 500 500 -pixrange 100 100 … … 353 353 354 354 Another program that may be used to create a request file is located in 355 pstamp/test/pstamp_req_create. 356 357 This program a text file and creates a multi-row postage stamp request. 358 359 360 361 XXXXXXXXXXXXXXXXXXXXXX The following sections are to be completed 362 Postage Stamp Server 363 -------------------- 364 pantasks tasks 365 366 DataStore for input and output 367 Web interface (limited functionality prototype only) 368 369 370 371 Examples 372 -------- 373 374 postage stamp for diffSkyfile and chipProcessedImfile at given coordinates for 375 a given diff. 376 377 get_image of a full gpc1 exposure 378 379 380 381 355 pstamp/test/pstamp_req_create. This program takes a text file and creates a multi-row postage 356 stamp request. A couple of example input files may be found in pstamp/test/*.txt 357 358 Queueing a PostageStamp Request 359 ------------------------------- 360 The postage stamp server looks for work to do by examining a collection of 361 input Data Stores. For example, the MOPS team will have a datastore onto which 362 they will submit their postage stamp requests. 363 364 There will also be a web based interface. A prototype for this will be 365 discussed in a later section of this document. 366 367 For testing, we may queue a request by hand using the program pstamptool 368 369 pstamptool -dbname mydatabase -addreq -uri /mydirectory/req.fits 370 371 This adds an entry to the table pstampRequests with state = 'new' 372 373 Request Processing 374 ------------------ 375 376 Postage stamp requests are processed by a set of pantasks tasks. 377 378 Task Status 379 AV Name Njobs Ngood Nfail Ntime Command 380 ++ pstamp.request.find 921 921 0 0 pstamp_queue_requests.pl 381 ++ pstamp.request.run 13 13 0 0 pstamp_parser_run.pl 382 ++ request.finish.load 1839 1839 0 0 pstamptool 383 ++ request.finish.run 14 14 0 0 request_finish.pl 384 ++ pstamp.job.load 1840 1840 0 0 pstamptool 385 ++ pstamp.job.run 30 30 0 0 pstamp_job_run.pl 386 ++ pstamp.request.load 1566 1566 0 0 pstamptool 387 388 pstamp.request.find examines incoming data stores for new requests and adds 389 them if found 390 391 pstamp.request.load dispatches pending requests for parsing 392 393 pstamp.request.run runs the request parser which queues jobs to service the 394 request specifications. 395 396 pstamp.job.load dispatches pending jobs for processing 397 398 pstamp.job.run runs a single job 399 400 pstamp.finish.load looks for requests which have no pending jobs 401 402 pstamp.finish.run builds the results fileset and registers it on the ouptut 403 Data Store. 404 405 Output Fileset 406 ------------- 407 A successful request will generate a fileset with the name the REQ_NAME of the 408 request in the output Data Store. The output product is determined by the 409 source of the request as discussed in the next section. (If the request did 410 not come from a data store the product is given by the value of PSTAMP_DATA_STORE_PRODUCT 411 in the IPP site.config file. 412 413 414 415
Note:
See TracChangeset
for help on using the changeset viewer.
