| | 296 | == Running the microtest scripts == |
| | 297 | |
| | 298 | The microtest data should be correctly automated, but still requires a script to be manually run. The basic pantasks tasks to reduce the microtest data are included in the stdscience/input file, in the add.microtest macro: |
| | 299 | |
| | 300 | {{{ |
| | 301 | macro add.microtest |
| | 302 | add.label microtestMD07.nightlyscience |
| | 303 | add.label microtestMD07.noPattern.nightlyscience |
| | 304 | |
| | 305 | survey.add.WSdiff microtestMD07.nightlyscience MD07.refstack.20100330 microtestMD07 neb://@HOST@.0/gpc1 |
| | 306 | survey.add.WSdiff microtestMD07.noPattern.nightlyscience MD07.refstack.20100330 microtestMD07.noPattern neb://@HOST@.0/gpc1 |
| | 307 | |
| | 308 | survey.add.magic microtestMD07.nightlyscience /data/ipp050.0/gpc1_destreak |
| | 309 | survey.add.magic microtestMD07.noPattern.nightlyscience /data/ipp050.0/gpc1_destreak |
| | 310 | end |
| | 311 | }}} |
| | 312 | |
| | 313 | Once the two labels have made it through magic, the microtest.pl script can be run. You'll need to have ppCoord built and in your path. This isn't built by |
| | 314 | psbuild. You just need to go into the ppViz directory and do {{{psautogen --enable-optimize && make && make install}}}. This script relies on VerifyStreaks having been run on the data as part of Magic (and being in the proper place). Note that if the !VerifyStreaks binary could not be found in the course of the Magic processing, this will have be skipped. The script is then run as: |
| | 315 | |
| | 316 | {{{ |
| | 317 | microtest.pl --dbhost ippdb01 --dbuser ipp --dbpass XXX --dbname gpc1 --label microtestMD07.nightlyscience --data_group microtestMD07.20XXYYZZ --verbose |
| | 318 | }}} |
| | 319 | |
| | 320 | |
| | 321 | |