IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 144 and Version 145 of ippToPsps


Ignore:
Timestamp:
Aug 3, 2011, 9:32:54 AM (15 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps

    v144 v145  
    101101The logic for this is that errors may occur during the merge phase and it is useful to have local copies of offending batches for debugging purposes.
    102102
     103== Metrics ==
    103104
    104 = Unit testing =
    105 
    106 Unit tests exist for all batch types in the {{{unitTests}}} folder. These tests confirm that data integrity is maintained after code changes have been made. All batch tests can be run like this
     105{{{ippToPsps}}} has a metrics program which reports processing and loading progress per batch type. It can be run, for example, like this:
    107106
    108107{{{
    109 cd unitTests
    110 ./runAllTests.sh
     108./run.sh metrics.py configs/lap.xml
     1092011-08-03 09:32:08 |    INFO | Loading epoch  2011-07-01-15:34
     1102011-08-03 09:32:08 |    INFO | +------+--------------+-----------------+--------------+------------+------------------+
     1112011-08-03 09:32:08 |    INFO | | Type | Total in DVO | Total published | Total failed | Total left |  Last published  |
     1122011-08-03 09:32:08 |    INFO | +------+--------------+-----------------+--------------+------------+------------------+
     1132011-08-03 09:32:08 |    INFO | |  P2  |     1547     |     1547        |         1    |       0    |  535.2 hours ago |
     1142011-08-03 09:32:09 |    INFO | |  ST  |     2388     |     2388        |         0    |       0    |  456.4 hours ago |
     1152011-08-03 09:32:09 |    INFO | +------+--------------+-----------------+--------------+------------+------------------+
    111116}}}
    112 
    113 Or, individual test like this, for detections:
    114 
    115 
    116 {{{
    117 cd unitTests/detectionTest
    118 ./run.sh
    119 }}}
    120 
    121 All test create batches in a 'test' mode, meaning, a current date will not be used and, in the case of detections, only chip 33 (instead of all 60) will be processed. The resultant FITS files are then compared (using {{{diff}}}) with FITS files known to be correct. The user is informed if they are identical or if they differ.
    122117
    123118= Recovery system design =