Changeset 28654
- Timestamp:
- Jul 9, 2010, 5:06:44 PM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 2 added
- 7 edited
-
Makefile.in (modified) (2 diffs)
-
def/diffSummary_Images.d (added)
-
def/stackSummary_Images.d (added)
-
def/warpStageExp.d (modified) (4 diffs)
-
raw/columns_in_db.php (modified) (1 diff)
-
raw/getimage.php (modified) (8 diffs)
-
raw/ipp.science.dat (modified) (1 diff)
-
raw/ipp.stack.dat (modified) (2 diffs)
-
scripts/generate (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r28621 r28654 144 144 $(DESTWWW)/warpFailedSkyfiles.php \ 145 145 $(DESTWWW)/diffSummary.php \ 146 $(DESTWWW)/diffSummary_Images.php \ 146 147 $(DESTWWW)/diffRun.php \ 147 148 $(DESTWWW)/diffInputSkyfile.php \ … … 151 152 $(DESTWWW)/stackRun.php \ 152 153 $(DESTWWW)/stackSummary.php \ 154 $(DESTWWW)/stackSummary_Images.php \ 153 155 $(DESTWWW)/stackInputSkyfile.php \ 154 156 $(DESTWWW)/stackProcessedSkyfile.php \ -
trunk/ippMonitor/def/warpStageExp.d
r27892 r28654 1 TABLE warpRun, fakeRun, camRun, chipRun, rawExp 1 TABLE warpRun, fakeRun, camRun, chipRun, rawExp, warpSummary 2 2 TITLE Warp Stage Exposures 3 3 FILE warpStageExp.php 4 4 MENU ipp.science.dat 5 5 6 # 7 # Images pathnames are extracted from warpSummary 8 # using ipp_filename.pl with basename: 9 # $warpSummary.path_base . $warpSummary.projection_cell 10 # . is the string concatenation operator 11 # 6 12 WHERE warpRun.fake_id = fakeRun.fake_id 7 13 WHERE fakeRun.cam_id = camRun.cam_id 8 14 WHERE camRun.chip_id = chipRun.chip_id 9 15 WHERE chipRun.exp_id = rawExp.exp_id 16 WHERE warpSummary.warp_id = warpRun.warp_id 10 17 11 18 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id … … 17 24 OP OP1 $rawExp.ra * 57.295783 18 25 OP OP2 $rawExp.decl * 57.295783 26 OP OP3 $warpSummary.path_base . $warpSummary.projection_cell 27 28 # define image names to be used below 29 # IMAGE VAR basename filerule camera class_id 30 # ARGS ARG6 warpRun.warp_id=$warpRun.warp_id 31 # ARGS ARG6 warpSummary.skycell_id=$warpSummary.skycell_id 32 # ARGS ARG6 camera=$rawExp.camera 33 # ARGS ARG6 basename=$warpSkyfile.path_base 34 IMAGE JPEG3 OP3 PPSKYCELL.JPEG2 $rawExp.camera NONE 35 ARGS ARG7 name=$warpSummary.path_base.$warpSummary.projection_cell 36 ARGS ARG7 rule=PPSKYCELL.JPEG1 37 ARGS ARG7 camera=GPC1 38 ARGS ARG7 class_id=NONE 39 19 40 20 41 # field size format name show link to extras … … 25 46 FIELD fakeRun.fake_id, 7, %d, Fake ID, value, fakeProcessedImfile.php, ARG4 26 47 FIELD warpRun.warp_id, 7, %d, Warp ID, value, warpStageExp.php, ARG5 48 FIELD *, 8, %s, image, image=JPEG3, getimage.php, ARG7 27 49 FIELD warpRun.state, 7, %s, state 28 50 FIELD warpRun.label, 7, %s, label … … 42 64 FIELD rawExp.comment, 65, %s, Comment 43 65 66 FIELD warpSummary.path_base, 5, %s, path_base, none 67 FIELD warpSummary.projection_cell, 5, %s, projection_cell, none 68 44 69 # FIELD rawExp.bg_mean_stdev, 5, %7.2f, <backgnd> 45 70 # FIELD chipPendingExp.reduction, 20, reduction -
trunk/ippMonitor/raw/columns_in_db.php
r28606 r28654 31 31 6 => "warpRun", 32 32 7 => "warpSkyCellMap", 33 8 => "warpSummary", 33 34 ); 34 35 -
trunk/ippMonitor/raw/getimage.php
r28043 r28654 11 11 // global $PSCONFIG 12 12 13 13 14 ### these need to be set to the correct locations!! 14 15 $MISSING = "missing.png"; … … 20 21 } 21 22 22 23 23 putenv("PSCONFDIR=$PSCONFDIR"); 24 24 putenv("PSCONFIG=$PSCONFIG"); … … 28 28 29 29 if ($debug) { 30 echo "DEBUG1<br>"; 30 31 echo "args: $args<br>"; 31 32 echo "path: $PATH<br>"; 32 33 echo "perl: $PERLLIB<br>"; 33 34 echo "bindir: $BINDIR<br>"; 35 echo "site=$SITE<br>\n"; 34 36 } 35 37 … … 43 45 44 46 if ($debug) { 47 echo "DEBUG2<br>"; 45 48 echo "basename: $basename<br>"; 46 49 echo "filerule: $filerule<br>"; … … 64 67 65 68 if ($debug) { 66 exec ("which ipp_filename.pl", $output, $status); 67 echo "which ipp_filename.pl output:<br>"; 69 echo "DEBUG3<br>"; 70 $output = array(); 71 exec ("which $BINDIR/ipp_filename.pl", $output, $status); 72 echo "which $BINDIR/ipp_filename.pl output:<br>"; 68 73 for ($i = 0; $i < count($output); $i++) { 69 74 echo "output $i: $output[$i]<br>"; … … 71 76 echo "status: $status<br>"; 72 77 78 $output = array(); 73 79 exec ("whoami", $output, $status); 74 80 echo "which whoami output:<br>"; … … 79 85 } 80 86 81 exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id", $output, $status); 87 /* --site=$SITE */ 88 $output = array(); 89 exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2> /tmp/errors", $output, $status); 82 90 83 91 # use these to check the environment … … 91 99 92 100 if ($debug) { 101 echo "DEBUG4<br>"; 102 echo "Command = ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id<br>\n"; 93 103 echo "basename: $basename<br>"; 94 104 for ($i = 0; $i < count($output); $i++) { 95 105 echo "output $i: $output[$i]<br>"; 96 106 } 97 echo "output: $output[0]<br>";98 107 echo "status: $status<br>"; 99 108 echo "filename: $filename<br>"; -
trunk/ippMonitor/raw/ipp.science.dat
r26947 r28654 36 36 menulink | menuselect | link | Warp Skyfile Inputs | warpStageSkyfileInputs.php 37 37 menulink | menuselect | link | Warp Processed Skyfiles | warpProcessedSkyfiles.php 38 # menulink | menuselect | link | Warp Processed Skyfiles | warpProcessedSkyfiles_Images.php39 38 menulink | menuselect | link | Warp Failed Skyfiles | warpFailedSkyfiles.php 40 39 -
trunk/ippMonitor/raw/ipp.stack.dat
r28143 r28654 3 3 menutop | menutop | plain | | 4 4 menulink | menuselect | link | Stack Summary | stackSummary.php 5 menulink | menuselect | link | Stack Summary w/ Images | stackSummary_Images.php 5 6 menulink | menuselect | link | Stack Run | stackRun.php 6 7 menulink | menuselect | link | Stack Input Skyfile | stackInputSkyfile.php … … 11 12 menutop | menutop | plain | | 12 13 menulink | menuselect | link | Diff Summary | diffSummary.php 14 menulink | menuselect | link | Diff Summary w/ Images | diffSummary_Images.php 13 15 menulink | menuselect | link | Diff Run | diffRun.php 14 16 menulink | menuselect | link | Diff Input Skyfile | diffInputSkyfile.php -
trunk/ippMonitor/scripts/generate
r28601 r28654 162 162 } 163 163 164 foreach $opword (@opwords) { 165 &parse_opwords ($opword); 166 } 167 164 168 foreach $imagedef (@imagedefs) { 165 169 &parse_imagedef ($imagedef); 166 }167 168 foreach $opword (@opwords) {169 &parse_opwords ($opword);170 170 } 171 171 … … 446 446 next; 447 447 } 448 448 449 } 449 450 } … … 625 626 ($var, $name, $rule, $camera, $class) = split (" ", $value); 626 627 $name = &parse_fieldname ($name); 628 if (exists $ops{$name}) { 629 #if OPx was defined, replace it by its value 630 $name = $ops{$name}; 631 $name =~ s/\s+//g; 632 } 627 633 $camera = &parse_fieldname ($camera); 628 634 $class = &parse_fieldname ($class);
Note:
See TracChangeset
for help on using the changeset viewer.
