IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20258


Ignore:
Timestamp:
Oct 17, 2008, 4:01:46 PM (18 years ago)
Author:
bills
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/doc/psnotes.txt

    r20257 r20258  
    344344For example
    345345
    346     pstamprequest -req_name REQ_00001 -project simtest req.fits \
     346    pstamprequest -req_name REQ_00001 -project simtest /mydirectory/req.fits \
    347347                  -byexp chip simtest.004.000 null \
    348348                  -pixcenter 500 500 -pixrange 100 100
     
    353353
    354354Another 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 
     355pstamp/test/pstamp_req_create.  This program takes a text file and creates a multi-row postage
     356stamp request.  A couple of example input files may be found in pstamp/test/*.txt
     357
     358Queueing a PostageStamp Request
     359-------------------------------
     360The postage stamp server looks for work to do by examining a collection of
     361input Data Stores. For example, the MOPS team will have a datastore onto which
     362they will submit their postage stamp requests.
     363
     364There will also be a web based interface. A prototype for this will be
     365discussed in a later section of this document.
     366
     367For testing, we may queue a request by hand using the program pstamptool
     368
     369    pstamptool -dbname mydatabase -addreq -uri /mydirectory/req.fits
     370
     371This adds an entry to the table pstampRequests with state = 'new'
     372
     373Request Processing
     374------------------
     375
     376Postage 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
     388pstamp.request.find examines incoming data stores for new requests and adds
     389them if found
     390
     391pstamp.request.load dispatches pending requests for parsing
     392
     393pstamp.request.run runs the request parser which queues jobs to service the
     394request specifications.
     395
     396pstamp.job.load dispatches pending jobs for processing
     397
     398pstamp.job.run runs a single job
     399
     400pstamp.finish.load looks for requests which have no pending jobs
     401
     402pstamp.finish.run builds the results fileset and registers it on the ouptut
     403Data Store.
     404
     405Output Fileset
     406-------------
     407A successful request will generate a fileset with the name the REQ_NAME of the
     408request in the output Data Store. The output product is determined by the
     409source of the request as discussed in the next section. (If the request did
     410not come from a data store the product is given by the value of PSTAMP_DATA_STORE_PRODUCT
     411in the IPP site.config file.
     412
     413
     414
     415
Note: See TracChangeset for help on using the changeset viewer.