Changeset 10963
- Timestamp:
- Jan 8, 2007, 11:33:32 AM (19 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 11 edited
-
Makefile (modified) (2 diffs)
-
def/autocode.php (modified) (2 diffs)
-
def/detRun.d (modified) (1 diff)
-
def/rawDetrendExp.d (modified) (1 diff)
-
def/rawImfile.d (modified) (1 diff)
-
def/rawScienceExp.d (modified) (2 diffs)
-
generate (modified) (1 diff)
-
raw/getimage.php (modified) (2 diffs)
-
raw/ipp.copy.dat (modified) (1 diff)
-
raw/ipp.detrend.dat (modified) (1 diff)
-
raw/ipp.science.dat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile
r9439 r10963 6 6 DEF = def 7 7 RAW = raw 8 DESTBIN = /var/www/kiawe/ phpipp8 DESTBIN = /var/www/kiawe/ippMonitor 9 9 10 10 RAWSRC = \ … … 59 59 60 60 PICTURES = \ 61 $(DESTBIN)/PScolorlogo2.jpg 61 $(DESTBIN)/PScolorlogo2.jpg \ 62 $(DESTBIN)/missing.png 62 63 63 php: $(RAWSRC) $(DEFSRC) $(PICTURES) 64 DESTLINK = $(DESTBIN)/index.php 65 66 php: $(RAWSRC) $(DEFSRC) $(PICTURES) $(DESTLINK) 64 67 65 68 # dependancy rules for binary code ######################### 66 69 # .PRECIOUS: %.$(ARCH).o 67 70 # .PRECIOUS: $(BIN)/%.$(ARCH) 71 72 $(DESTLINK): $(DESTBIN)/Login.php 73 rm -f $@ 74 ln -s $(DESTBIN)/Login.php $@ 68 75 69 76 $(SRC)/%.php: $(DEF)/%.d $(DEF)/autocode.php ./generate -
trunk/ippMonitor/def/autocode.php
r10621 r10963 107 107 echo "</tr>\n"; 108 108 109 // query restriction form 110 echo "<tr>\n"; 111 // echo "<td class=list> <input type=\"text\" name=\"expID\"></td>\n"; 112 // ** TABLE QUERY ** 113 echo "</tr>\n"; 114 109 115 // list the results 110 116 while ($qry->fetchInto($row)) { … … 119 125 120 126 // query restriction form 121 echo "<tr>\n";127 // echo "<tr>\n"; 122 128 // echo "<td class=list> <input type=\"text\" name=\"expID\"></td>\n"; 123 // ** TABLE QUERY **124 echo "</tr>\n";129 // TABLE QUERY 130 // echo "</tr>\n"; 125 131 126 132 // close the table and form -
trunk/ippMonitor/def/detRun.d
r9439 r10963 4 4 MENU ipp.detrend.dat 5 5 6 # field name show link to extras 7 FIELD det_id, 20, det ID, value, detRunSummary.php, det_id=$det_id 8 FIELD iteration, 20, iteration 9 FIELD det_type, 20, det_type 10 FIELD state, 20, state 6 # field width name show link to extras 7 FIELD det_id, 7, det ID, value, detRunSummary.php, det_id=$det_id 8 FIELD iteration, 5, iteration 9 FIELD det_type, 8, det_type 10 FIELD state, 5, state 11 FIELD mode, 5, mode 12 FIELD exp_type, 8, exp_type (drop) 13 FIELD filter, 10, filter 14 FIELD airmass, 10, airmass 15 FIELD exp_time, 10, exp_time 16 FIELD ccd_temp, 10, ccd_temp 17 FIELD posang, 10, posang 18 FIELD object, 10, object 19 FIELD registered, 10, registered 20 FIELD use_begin, 10, use_begin 21 FIELD use_end, 10, use_end -
trunk/ippMonitor/def/rawDetrendExp.d
r9323 r10963 4 4 MENU ipp.copy.dat 5 5 6 # 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 12 # FIELD imfiles, 20, imfiles 13 # FIELD airmass, 20, airmass 14 # FIELD ra, 20, ra 15 # FIELD decl, 20, decl 16 # FIELD exp_time, 20, exp_time 17 # FIELD bg, 20, bg 18 # FIELD bg_stdev, 20, bg_stdev 19 # FIELD bg_mean_stdev, 20, bg_mean_stdev 20 # FIELD alt, 20, alt 21 # FIELD az, 20, az 22 # FIELD ccd_temp, 20, ccd_temp 23 # FIELD posang, 20, posang 24 # FIELD object, 20, object 6 # field name show link to extras 7 FIELD exp_tag, 10, exposure ID, value, rawImfile.php, exp_tag=$exp_tag 8 FIELD telescope, 10, Telescope 9 FIELD camera, 10, Camera 10 FIELD exp_type, 10, Type 11 FIELD filter, 10, FILTER 12 FIELD dateobs, 20, Date/Time 13 FIELD exp_time, 5, exp_time 14 FIELD airmass, 5, airmass 15 FIELD bg, 5, backgnd 16 FIELD bg_stdev, 5, stdev 17 FIELD bg_mean_stdev, 5, <backgnd> 18 # FIELD ra, 8, ra 19 # FIELD decl, 8, decl 20 # FIELD object, 10, object 21 # FIELD imfiles, 20, imfiles 22 # FIELD airmass, 20, airmass 23 # FIELD bg_mean_stdev, 20, bg_mean_stdev 24 # FIELD alt, 20, alt 25 # FIELD az, 20, az 26 # FIELD ccd_temp, 20, ccd_temp 27 # FIELD posang, 20, posang -
trunk/ippMonitor/def/rawImfile.d
r9569 r10963 10 10 FIELD bg_stdev, 8, stdev 11 11 FIELD bg_mean_stdev, 8, [stdev] 12 FIELD uri, 10, uri 12 13 # FIELD class, 20, Class 13 14 # FIELD uri, 20, uri -
trunk/ippMonitor/def/rawScienceExp.d
r9323 r10963 4 4 MENU ipp.copy.dat 5 5 6 # field name show link to extras 7 FIELD exp_tag, 20, exposure Tag, value, rawImfile.php, exp_tag=$exp_tag,camera=$camera,foo=bar 8 FIELD telescope, 20, Telescope, value, telescopes.php 9 FIELD camera, 20, Camera 10 FIELD exp_type, 20, Type 11 FIELD filter, 20, FILTER 6 # field name show link to extras 7 FIELD exp_tag, 10, exposure Tag, value, rawImfile.php, exp_tag=$exp_tag,camera=$camera,foo=bar 8 FIELD telescope, 10, Telescope, value, telescopes.php 9 FIELD camera, 10, Camera 10 FIELD exp_type, 8, Type 11 FIELD filter, 10, FILTER 12 FIELD ra, 8, ra 13 FIELD decl, 8, decl 14 FIELD object, 10, object 15 FIELD airmass, 5, airmass 16 FIELD exp_time, 5, exp_time 17 FIELD bg, 5, bg 18 FIELD bg_stdev, 5, bg_stdev 12 19 # FIELD imfiles, 20, imfiles 13 # FIELD airmass, 20, airmass14 # FIELD ra, 20, ra15 # FIELD decl, 20, decl16 # FIELD exp_time, 20, exp_time17 # FIELD bg, 20, bg18 # FIELD bg_stdev, 20, bg_stdev19 20 # FIELD bg_mean_stdev, 20, bg_mean_stdev 20 21 # FIELD alt, 20, alt … … 22 23 # FIELD ccd_temp, 20, ccd_temp 23 24 # FIELD posang, 20, posang 24 # FIELD object, 20, object -
trunk/ippMonitor/generate
r10622 r10963 178 178 sub write_table_header { 179 179 180 //add column sorting elements here180 # add column sorting elements here 181 181 for ($i = 0; $i < @field; $i++) { 182 182 if ($show[$i] eq "none") { next; } -
trunk/ippMonitor/raw/getimage.php
r10595 r10963 1 1 <?php 2 2 3 # $IMAGEDIR = "/data/alala/eugene/swtests/pantasks/"; 4 $CONFIGDIR = "/data/alala/eugene/src/panstarrs/ipp/config/ipprc.config"; 3 ### these need to be set to the correct locations!! 4 $PERLLIB = "/home/kiawe/eugene/psconfig/dev.linux/lib"; 5 $BINDIR = "/home/kiawe/eugene/psconfig/dev.linux/bin"; 6 $SITE = "/home/kiawe/eugene/.ipprc"; 5 7 $MISSING = "missing.png"; 6 8 … … 11 13 } 12 14 13 $basename = $_GET[name];15 $basename = escapeshellarg($_GET[name]); 14 16 $basename = str_replace ('..','',$basename); 15 17 16 $filename = system ("ipp_datapath.pl --site=$CONFIGDIR $IMAGEDIR", $status); 18 putenv("PERL5LIB=$PERLLIB:"); 19 $PATH = getenv("PATH"); 20 putenv("PATH=$BINDIR:$PATH"); 21 22 exec ("ipp_datapath.pl --site=$SITE $basename", $output, $status); 23 24 $filename = $output[0]; 17 25 if ($status) { 18 26 $filename = $MISSING; 27 } 28 29 if (0) { 30 echo "basename: $basename<br>"; 31 echo "result: $result<br>"; 32 echo "output: $output[0]<br>"; 33 echo "status: $status<br>"; 34 echo "filename: $filename<br>"; 35 exit (); 19 36 } 20 37 -
trunk/ippMonitor/raw/ipp.copy.dat
r9439 r10963 24 24 25 25 menutop | menutop | plain | | 26 menulink | menuselect | link | Raw Detrend Exp | rawDetrendExp.php 27 menulink | menuselect | link | Raw Science Exp | rawScienceExp.php 28 menutop | menutop | plain | | 26 29 menulink | menuselect | link | Summit Exp | summitExp.php 27 30 menulink | menuselect | link | Copy Pending Exp | pzPendingExp.php 28 31 menulink | menuselect | link | New Exp | newExp.php 29 menulink | menuselect | link | Raw Detrend Exp | rawDetrendExp.php30 menulink | menuselect | link | Raw Science Exp | rawScienceExp.php -
trunk/ippMonitor/raw/ipp.detrend.dat
r9439 r10963 25 25 menutop | menutop | plain | | 26 26 menulink | menuselect | link | Detrend Frames | masterDetrendFrames.php 27 menulink | menuselect | link | Detrend Runs | detRunSummary.php 27 menulink | menuselect | link | Detrend Runs | detRun.php 28 menulink | menuselect | link | Detrend Iterations | detRunSummary.php 29 menulink | menulink | plain | | 28 30 menulink | menuselect | link | Raw Detrend Exp | rawDetrendExp_detrend.php 29 31 menulink | menuselect | link | Input Detrend Exp | detInputExp.php 30 32 menulink | menuselect | link | Proc Detrend Exp | detProcessedExp.php 33 menulink | menuselect | link | Norm Detrend Exp | detNormalizedExp.php 31 34 menulink | menuselect | link | Resid Detrend Exp | detResidExp.php 32 menulink | menuselect | link | Norm Detrend Exp | detNormalizedExp.php -
trunk/ippMonitor/raw/ipp.science.dat
r9439 r10963 27 27 menulink | menuselect | link | P2 Processed Exp | p2ProcessedExp.php 28 28 menulink | menuselect | link | P3 Processed Exp | p3ProcessedExp.php 29 menutop | menutop | plain | | 29 30 menulink | menuselect | link | P1 Pending Exp | p1PendingExp.php 30 31 menulink | menuselect | link | P2 Pending Exp | p2PendingExp.php
Note:
See TracChangeset
for help on using the changeset viewer.
