Changeset 11490
- Timestamp:
- Jan 31, 2007, 11:20:53 AM (19 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 14 edited
-
Makefile (modified) (1 diff)
-
def/detNormalizedExp.d (modified) (1 diff)
-
def/detProcessedExp.d (modified) (1 diff)
-
def/detResidExp.d (modified) (1 diff)
-
def/newExp.d (modified) (1 diff)
-
def/p3ProcessedExp.d (modified) (1 diff)
-
def/rawDetrendExp.d (modified) (1 diff)
-
def/rawDetrendExp_detrend.d (modified) (1 diff)
-
def/rawImfile.d (modified) (1 diff)
-
def/rawScienceExp.d (modified) (1 diff)
-
generate (modified) (1 diff)
-
raw/getimage.php (modified) (1 diff)
-
raw/ipp.copy.dat (modified) (1 diff)
-
raw/ipp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile
r10963 r11490 52 52 $(DESTBIN)/pzPendingExp.php \ 53 53 $(DESTBIN)/pzPendingImfile.php \ 54 $(DESTBIN)/rawUnknownExp.php \ 54 55 $(DESTBIN)/rawDetrendExp.php \ 55 56 $(DESTBIN)/rawDetrendExp_detrend.php \ 56 57 $(DESTBIN)/rawImfile.php \ 58 $(DESTBIN)/rawImfile_failed.php \ 59 $(DESTBIN)/rawExp_failed.php \ 57 60 $(DESTBIN)/rawScienceExp.php \ 58 61 $(DESTBIN)/summitExp.php -
trunk/ippMonitor/def/detNormalizedExp.d
r9439 r11490 10 10 FIELD bg_stdev, 8, stdev 11 11 FIELD iteration, 5, iteration 12 FIELD b2_uri, 8, image, image=$b 2_uri, detNormalizedImfile.php, det_id=$det_id,iteration=$iteration,image=$b1_uri12 FIELD b2_uri, 8, image, image=$b1_uri@PPIMAGE.JPEG2, detNormalizedImfile.php, det_id=$det_id,iteration=$iteration,image=$b1_uri@PPIMAGE.JPEG1 13 13 #FIELD b1_uri, 20, b1_uri 14 14 #FIELD recipe, 20, recipe -
trunk/ippMonitor/def/detProcessedExp.d
r9439 r11490 7 7 FIELD det_id, 7, Det ID, value 8 8 FIELD exp_tag, 15, Exposure, value 9 FIELD b2_uri, 8, image, image=$b 2_uri, detProcessedImfile.php, det_id=$det_id,exp_tag=$exp_tag,image=$b1_uri9 FIELD b2_uri, 8, image, image=$b1_uri@PPIMAGE.JPEG2, detProcessedImfile.php, det_id=$det_id,exp_tag=$exp_tag,image=$b1_uri@PPIMAGE.JPEG1 10 10 FIELD bg, 8, backgnd, value 11 11 FIELD bg_mean_stdev, 8, [stdev], value -
trunk/ippMonitor/def/detResidExp.d
r9439 r11490 4 4 MENU ipp.detrend.dat 5 5 6 # field size name show link toextras6 # field size name show link to extras 7 7 FIELD det_id, 7, Det ID, value 8 FIELD exp_tag, 15, Exposure, value, rawImfile.php,exp_tag=$exp_tag9 FIELD b2_uri, 8, image, image=$b 2_uri, detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$b1_uri8 FIELD exp_tag, 15, Exposure, value, rawImfile.php, exp_tag=$exp_tag 9 FIELD b2_uri, 8, image, image=$b1_uri@PPIMAGE.JPEG2, detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$b1_uri@PPIMAGE.JPEG1 10 10 FIELD bg, 8, backgnd, value 11 11 FIELD bg_mean_stdev, 8, [stdev] -
trunk/ippMonitor/def/newExp.d
r9323 r11490 9 9 FIELD camera, 20, camera 10 10 FIELD telescope, 20, telescope 11 FIELD exp_type, 20, type12 11 FIELD imfiles, 20, N imfiles -
trunk/ippMonitor/def/p3ProcessedExp.d
r9398 r11490 6 6 # field size name show link to extras 7 7 FIELD exp_tag, 15, Exposure, value 8 FIELD b2_uri, 8, image, image=$b 2_uri, p2ProcessedImfile.php, exp_tag=$exp_tag,image=$b1_uri8 FIELD b2_uri, 8, image, image=$b1_uri@PPIMAGE.JPEG2, p2ProcessedImfile.php, exp_tag=$exp_tag,image=$b1_uri@PPIMAGE.JPEG1 9 9 FIELD bg, 8, backgnd, value 10 10 FIELD bg_mean_stdev, 8, [stdev], value -
trunk/ippMonitor/def/rawDetrendExp.d
r10963 r11490 1 TABLE raw DetrendExp1 TABLE rawExp 2 2 TITLE Raw Detrend Exposures 3 3 FILE rawDetrendExp.php 4 4 MENU ipp.copy.dat 5 6 # limit this table to non-OBJECT types of images 7 WHERE rawExp.exp_type != 'OBJECT' 5 8 6 9 # field name show link to extras -
trunk/ippMonitor/def/rawDetrendExp_detrend.d
r9323 r11490 1 TABLE raw DetrendExp1 TABLE rawExp 2 2 TITLE Raw Detrend Exposures 3 3 FILE rawDetrendExp.php 4 4 MENU ipp.detrend.dat 5 5 6 # limit this table to non-OBJECT types of images 7 WHERE rawExp.exp_type != 'OBJECT' 8 6 9 # field name show link to extras 7 FIELD exp_tag, 20, exposure ID, value, rawImfile.php, exp_tag=$exp_tag 8 FIELD telescope, 20, Telescope 9 FIELD camera, 20, Camera 10 FIELD exp_type, 20, Type 11 FIELD filter, 20, FILTER 10 FIELD exp_tag, 10, exposure ID, value, rawImfile.php, exp_tag=$exp_tag 11 FIELD telescope, 10, Telescope 12 FIELD camera, 10, Camera 13 FIELD exp_type, 10, Type 14 FIELD filter, 10, FILTER 15 FIELD dateobs, 20, Date/Time 16 FIELD exp_time, 5, exp_time 17 FIELD airmass, 5, airmass 18 FIELD bg, 5, backgnd 19 FIELD bg_stdev, 5, stdev 20 FIELD bg_mean_stdev, 5, <backgnd> 12 21 # FIELD imfiles, 20, imfiles 13 22 # FIELD airmass, 20, airmass -
trunk/ippMonitor/def/rawImfile.d
r10963 r11490 3 3 FILE rawImfile.php 4 4 MENU ipp.imfiles.dat 5 6 HEAD PHP insert_backref ("rawUnknownExp.php", "exp_tag", $ID['link']); 5 7 6 8 # field name show link to extras -
trunk/ippMonitor/def/rawScienceExp.d
r10963 r11490 1 TABLE raw ScienceExp1 TABLE rawExp 2 2 TITLE Raw Science Exposures 3 3 FILE rawScienceExp.php 4 4 MENU ipp.copy.dat 5 6 # limit this table to OBJECT types of images 7 WHERE rawExp.exp_type = 'OBJECT' 5 8 6 9 # field name show link to extras -
trunk/ippMonitor/generate
r10963 r11490 338 338 if ($field[$i] eq "*") { next; } 339 339 if ($value =~ m|^\$$field[$i]|) { 340 # print "field: $field[$i]\n"; 341 ($name, $extra) = $value =~ m|^\$($field[$i])\@(\S+)|; 342 # print "name: $name\n"; 343 # print "extra: $extra\n"; 344 # print "value: $value\n"; 345 340 346 $Nrow = $count[$i]; 341 $value = "\$row[$Nrow]"; 347 if ($extra) { 348 $value = "\$row[$Nrow]\@$extra"; 349 } else { 350 $value = "\$row[$Nrow]"; 351 } 352 # print "outval: $value\n"; 342 353 last MATCH_LABEL; 343 354 } -
trunk/ippMonitor/raw/getimage.php
r10963 r11490 13 13 } 14 14 15 $basename = escapeshellarg($_GET[name]);16 $basename = str_replace ('..','',$basename);17 18 15 putenv("PERL5LIB=$PERLLIB:"); 19 16 $PATH = getenv("PATH"); 20 17 putenv("PATH=$BINDIR:$PATH"); 18 19 # echo "args: $args<br>"; 20 21 # $basename may contain filename@filerule 22 $basename = strtok($_GET[name],"@"); 23 $filerule = strtok("@"); 24 25 # echo "basename: $basename<br>"; 26 # echo "filerule: $filerule<br>"; 27 28 # need to supply the camera as well... 29 # exec ("ipp_filerule.pl --site=$SITE $basename", $output, $status); 30 31 if ($filerule) { 32 if ($filerule == "PPIMAGE.JPEG1") { 33 $basename = "$basename.b1.jpg"; 34 } 35 if ($filerule == "PPIMAGE.JPEG2") { 36 $basename = "$basename.b2.jpg"; 37 } 38 } 39 40 $basename = escapeshellarg($basename); 41 $basename = str_replace ('..','',$basename); 21 42 22 43 exec ("ipp_datapath.pl --site=$SITE $basename", $output, $status); -
trunk/ippMonitor/raw/ipp.copy.dat
r10963 r11490 26 26 menulink | menuselect | link | Raw Detrend Exp | rawDetrendExp.php 27 27 menulink | menuselect | link | Raw Science Exp | rawScienceExp.php 28 menulink | menuselect | link | Raw Unknown Exp | rawUnknownExp.php 28 29 menutop | menutop | plain | | 29 30 menulink | menuselect | link | Summit Exp | summitExp.php 30 31 menulink | menuselect | link | Copy Pending Exp | pzPendingExp.php 31 32 menulink | menuselect | link | New Exp | newExp.php 33 menutop | menutop | plain | | 34 menulink | menuselect | link | Failed Raw Imfiles | rawImfile_failed.php 35 menulink | menuselect | link | Failed Raw Exp | rawExp_failed.php -
trunk/ippMonitor/raw/ipp.php
r10621 r11490 200 200 echo "<body>\n"; 201 201 202 $root = "/ phpipp";202 $root = "/ippMonitor"; 203 203 204 204 if (! $project) { $project = "none"; } … … 307 307 } 308 308 309 // expect image supplied with key=name 310 // this function should define matching hidden inputs in the form 311 function insert_backref ($page, $key, $link) { 312 313 if ($_SERVER[REQUEST_METHOD] == 'GET') { 314 $name = $_GET[$key]; 315 } else { 316 $name = $_POST[$key]; 317 } 318 319 if ($name) { 320 echo "back to <a href=\"$page?$link&$key=$name\"> $name </a><br>\n"; 321 } 322 } 323 309 324 // $myPage = $_SERVER[SCRIPT_NAME] . "?pass=$pass"; 310 325
Note:
See TracChangeset
for help on using the changeset viewer.
