Changeset 40974
- Timestamp:
- Oct 27, 2019, 9:47:12 PM (7 years ago)
- Location:
- branches/ccl_branches/ipp-20190806/ippMonitor
- Files:
-
- 116 edited
-
. (modified) (1 prop)
-
czartool/czarpoll.pl (modified) (8 diffs)
-
czartool/czartool/CzarDb.pm (modified) (3 diffs)
-
def/addRunProcessed.d (modified) (2 diffs)
-
def/camIQstats.d (modified) (2 diffs)
-
def/camPendingExp.d (modified) (2 diffs)
-
def/camProcessedExp.d (modified) (2 diffs)
-
def/camProcessedExp_Images.d (modified) (2 diffs)
-
def/camProcessedExp_NoImages.d (modified) (2 diffs)
-
def/camProcessedExp_failure.d (modified) (2 diffs)
-
def/camProcessedImfile.d (modified) (2 diffs)
-
def/camStageExp.d (modified) (1 diff)
-
def/chipIQstats.d (modified) (2 diffs)
-
def/chipPendingExp.d (modified) (2 diffs)
-
def/chipPendingImfile.d (modified) (2 diffs)
-
def/chipProcessedExp.d (modified) (2 diffs)
-
def/chipProcessedImfile.d (modified) (2 diffs)
-
def/chipProcessedImfile_failure.d (modified) (2 diffs)
-
def/chipStageExp.d (modified) (1 diff)
-
def/detInputExp.d (modified) (2 diffs)
-
def/detNormalizedExp.d (modified) (2 diffs)
-
def/detNormalizedExp_failure.d (modified) (2 diffs)
-
def/detNormalizedImfile.d (modified) (1 diff)
-
def/detProcessedExp.d (modified) (2 diffs)
-
def/detProcessedExp_failure.d (modified) (2 diffs)
-
def/detProcessedExp_noimage.d (modified) (2 diffs)
-
def/detProcessedImfile.d (modified) (2 diffs)
-
def/detProcessedImfile_failure.d (modified) (2 diffs)
-
def/detRegisteredImfile.d (modified) (1 diff)
-
def/detResidExp.d (modified) (2 diffs)
-
def/detResidExp_failure.d (modified) (2 diffs)
-
def/detResidExp_noimage.d (modified) (2 diffs)
-
def/detResidImfile.d (modified) (2 diffs)
-
def/detResidImfile_failure.d (modified) (2 diffs)
-
def/detRunActive.d (modified) (1 diff)
-
def/detRunSummary.d (modified) (1 diff)
-
def/detStackedImfile.d (modified) (1 diff)
-
def/detStackedImfile_failure.d (modified) (2 diffs)
-
def/diffFailedSkyfile.d (modified) (1 diff)
-
def/diffInputSkyfile.d (modified) (1 diff)
-
def/diffProcessedSkyfile.d (modified) (1 diff)
-
def/diffProcessedSkyfile_Images.d (modified) (2 diffs)
-
def/diffSummary_Images.d (modified) (2 diffs)
-
def/distRun.d (modified) (2 diffs)
-
def/failedCamProcessedExp.d (modified) (2 diffs)
-
def/failedChipProcessedImfile.d (modified) (2 diffs)
-
def/failedDiffSkyfile.d (modified) (1 diff)
-
def/failedFakeProcessedImfile.d (modified) (2 diffs)
-
def/failedFullForceSkyfiles.d (modified) (1 diff)
-
def/failedStackSkyfile.d (modified) (1 diff)
-
def/failedStaticsky.d (modified) (1 diff)
-
def/failedWarpSkyfiles.d (modified) (1 diff)
-
def/fakePendingExp.d (modified) (2 diffs)
-
def/fakePendingImfile.d (modified) (2 diffs)
-
def/fakeProcessedExp.d (modified) (2 diffs)
-
def/fakeProcessedImfile.d (modified) (2 diffs)
-
def/fakeProcessedImfile_failure.d (modified) (2 diffs)
-
def/fakeStageExp.d (modified) (1 diff)
-
def/flatcorrCamera.d (modified) (1 diff)
-
def/flatcorrChip.d (modified) (1 diff)
-
def/fullforceFailedSkyfile.d (modified) (1 diff)
-
def/fullforceProcessedSkyfile.d (modified) (1 diff)
-
def/fullforce_failure.d (modified) (1 diff)
-
def/histogramBackgroundImage.d (modified) (2 diffs)
-
def/histogramCamProcessedExpImage.d (modified) (2 diffs)
-
def/histogramChipProcessedImfileFwhmMajorImage.d (modified) (2 diffs)
-
def/histogramChipRunFwhmMajorImage.d (modified) (2 diffs)
-
def/histogramFwhmMajorImage.d (modified) (2 diffs)
-
def/histogramFwhmMinorImage.d (modified) (2 diffs)
-
def/histogramZptObsImage.d (modified) (2 diffs)
-
def/maskStats.d (modified) (1 diff)
-
def/newImfile.d (modified) (1 diff)
-
def/newsimplePlotStaticskyImage.d (modified) (2 diffs)
-
def/publishDone.d (modified) (1 diff)
-
def/publishRun.d (modified) (1 diff)
-
def/publishSummary.d (modified) (1 diff)
-
def/pzDoneImfile.d (modified) (1 diff)
-
def/pzPendingImfile.d (modified) (1 diff)
-
def/rawDetrendExp.d (modified) (1 diff)
-
def/rawDetrendExp_detrend.d (modified) (1 diff)
-
def/rawExp.d (modified) (1 diff)
-
def/rawExpStats.d (modified) (1 diff)
-
def/rawExp_failed.d (modified) (1 diff)
-
def/rawImfile.d (modified) (1 diff)
-
def/rawScienceExp.d (modified) (1 diff)
-
def/simplePlotCamImage.d (modified) (2 diffs)
-
def/simplePlotChipImage.d (modified) (2 diffs)
-
def/simplePlotChipQueue.d (modified) (1 diff)
-
def/simplePlotDiffImage.d (modified) (2 diffs)
-
def/simplePlotFullForceImage.d (modified) (2 diffs)
-
def/simplePlotSkycalImage.d (modified) (2 diffs)
-
def/simplePlotStackImage.d (modified) (2 diffs)
-
def/simplePlotStaticskyImage.d (modified) (2 diffs)
-
def/skycalFailedSkyfile.d (modified) (1 diff)
-
def/skycalProcessedSkyfile.d (modified) (1 diff)
-
def/skycalRun.d (modified) (1 diff)
-
def/skycal_failure.d (modified) (1 diff)
-
def/stackFailedSkyfile.d (modified) (1 diff)
-
def/stackInputSkyfile.d (modified) (1 diff)
-
def/stackProcessedSkyfile.d (modified) (1 diff)
-
def/stackProcessedSkyfile_Images.d (modified) (1 diff)
-
def/stackSummary_Images.d (modified) (1 diff)
-
def/staticskyFailedSkyfile.d (modified) (1 diff)
-
def/staticskyInputSkyfile.d (modified) (1 diff)
-
def/staticskyProcessedSkyfile.d (modified) (1 diff)
-
def/staticsky_failure.d (modified) (1 diff)
-
def/subsetPlotDiffImage.d (modified) (2 diffs)
-
def/summitImfile.d (modified) (1 diff)
-
def/warpFailedSkyfiles.d (modified) (1 diff)
-
def/warpProcessedSkyfiles.d (modified) (1 diff)
-
def/warpProcessedSkyfiles_Images.d (modified) (1 diff)
-
def/warpSkycellMap.d (modified) (1 diff)
-
def/warpStageExp.d (modified) (1 diff)
-
def/warpStageSkyfileInputs.d (modified) (1 diff)
-
def/warpStageSkyfiles.d (modified) (1 diff)
-
raw/czartool_labels.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ccl_branches/ipp-20190806/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 40862,40877-40879,40882-40883,40936
- Property svn:mergeinfo changed
-
branches/ccl_branches/ipp-20190806/ippMonitor/czartool/czarpoll.pl
r40847 r40974 12 12 use POSIX qw/strftime/; 13 13 use List::MoreUtils qw(uniq); 14 use DateTime; 14 15 15 16 # local classes … … 127 128 ########################################################################### 128 129 sub updateLabels { 130 my ($dbupdate) = @_; 129 131 130 132 # this used to have a concept of labels grouped by pantasks server, but we … … 199 201 200 202 # store them all in stdscience: 201 $server = "stdscience"; 202 if (@allLabels) { 203 $czarDb->updateCurrentLabels($server, \@allLabels,'gpc1', \@priorities); 204 } else { 205 print "WARNING: No labels to update for gpc1 for '$server'\n"; 206 } 207 208 if (@allLabels2) { 209 $czarDb->updateCurrentLabels($server, \@allLabels2,'gpc2', \@priorities2); 210 } else { 211 print "WARNING: No labels to update for gpc2 for '$server'\n"; 203 if($dbupdate == 1) { 204 $server = "stdscience"; 205 if (@allLabels) { 206 $czarDb->updateCurrentLabels($server, \@allLabels,'gpc1', \@priorities); 207 } else { 208 print "WARNING: No labels to update for gpc1 for '$server'\n"; 209 } 210 211 if (@allLabels2) { 212 $czarDb->updateCurrentLabels($server, \@allLabels2,'gpc2', \@priorities2); 213 } else { 214 print "WARNING: No labels to update for gpc2 for '$server'\n"; 215 } 212 216 } 213 217 return(\@allLabels,\@allLabels2); … … 243 247 my ($period) = @_; 244 248 249 my $dbupdate; 250 my $polldate; 251 my $datenow; 252 my $timediff; 245 253 my $label; 246 254 my $new; … … 267 275 # main polling loop 268 276 while (1) { 269 270 277 my $iterationStartTime = time(); 278 279 #get the time of last czarpoll update 280 $polldate = $czarDb->getPollDate(); 281 $polldate=~/^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/; 282 my $date=DateTime->new(year=>$1,month=>$2,day=>$3,hour=>$4,minute=>$5,second=>$6,time_zone=>"HST"); 283 $date->set_time_zone("UTC"); 284 285 $datenow=DateTime->now; 286 $timediff = ($datenow->epoch) - ($date->epoch); 287 if($timediff > 120.) { 288 print "There is no recent Czarpoll iteration\n"; 289 print "*Updating database entries*\n"; 290 $dbupdate = 1; 291 } else { 292 print "There is a recent Czarpoll iteration already made ($timediff sec ago)\n"; 293 print "*Skipping database queries and entries*\n"; 294 $dbupdate = 0; 295 } 296 271 297 272 298 # sort out times … … 298 324 299 325 # now cleanup tables from yesterday and optimize 300 print "* Performing database cleanup\n"; 301 $czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval()); 302 print "* Optimizing the database\n"; 303 $czarDb->optimize(); 326 #TdB20190703: The ipp113 and ipp117 instances of czarpoll use the same stage DBs in czarDB. 327 #Therefore, it makes no sense to run the cleanup+optimising twice 328 #print "* Performing database cleanup\n"; 329 #$czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval()); 330 #print "* Optimizing the database\n"; 331 #$czarDb->optimize(); 304 332 $lastDayDailyTasks = $yesterday; 305 333 } … … 307 335 308 336 # check nightly science status 309 print "* Checking nightly science status\n"; 310 if (!$pantasks->getNightlyScienceStatus(\$nsStatus,'gpc1')) {$nsStatus = "Unknown";} 311 $czarDb->updateNightlyScience($nsStatus,'gpc1'); 312 if (!$pantasks->getNightlyScienceStatus(\$nsStatus,'gpc2')) {$nsStatus = "Unknown";} 313 $czarDb->updateNightlyScience($nsStatus,'gpc2'); 337 if($dbupdate == 1) { 338 print "* Checking nightly science status\n"; 339 if (!$pantasks->getNightlyScienceStatus(\$nsStatus,'gpc1')) {$nsStatus = "Unknown";} 340 $czarDb->updateNightlyScience($nsStatus,'gpc1'); 341 if (!$pantasks->getNightlyScienceStatus(\$nsStatus,'gpc2')) {$nsStatus = "Unknown";} 342 $czarDb->updateNightlyScience($nsStatus,'gpc2'); 343 } 314 344 315 345 # check nebulous 316 346 print "* Checking Nebulous\n"; 317 $nebulous->updateClusterSpaceInfo();347 if($dbupdate == 1) {$nebulous->updateClusterSpaceInfo();} 318 348 $plotter0->plotStorageTimeSeries($czarDb->subtractInterval($begin, "1 WEEK") , $end); 319 349 $plotter0->plotDiskUsageHistogram(); 320 350 $plotter0->plotDiskUsageHistogramLarge(); 321 updateServerStatus();351 if($dbupdate == 1) {updateServerStatus();} 322 352 323 353 # check pantasks dates 324 updateDates();354 if($dbupdate == 1) {updateDates();} 325 355 326 356 # check labels 327 my ($labels, $labels2) = updateLabels( );357 my ($labels, $labels2) = updateLabels($dbupdate); 328 358 my @labels = @$labels; 329 359 my @labels2 = @$labels2; … … 342 372 my $size = @{$labels}; 343 373 if($size > 0) { 344 updateAllStages($thisServer, $newState, $labels,$labels2, $begin, $end);374 if($dbupdate == 1) {updateAllStages($thisServer, $newState, $labels,$labels2, $begin, $end);} 345 375 if ($thisServer eq "stdscience") { 346 376 createPlots($thisServer, $plotter1, $labels, $begin, $end); -
branches/ccl_branches/ipp-20190806/ippMonitor/czartool/czartool/CzarDb.pm
r40854 r40974 40 40 use czartool::StageMetrics; 41 41 42 42 43 ########################################################################### 43 44 # … … 54 55 55 56 return $self; 57 } 58 59 ########################################################################### 60 # 61 # Gets last czarpoll iteration time 62 # 63 ########################################################################### 64 sub getPollDate { 65 my ($self,$polldate) = @_; 66 67 my $query = $self->{_db}->prepare(<<SQL); 68 SELECT timestamp FROM chip ORDER BY timestamp DESC LIMIT 1 69 SQL 70 71 $query->execute; 72 73 $polldate = $query->fetchrow_array(); 74 75 return $polldate; 56 76 } 57 77 … … 281 301 SQL 282 302 283 $query->execute; 303 #execute the query, but check for deadlocks 304 my $db_res=0; 305 while($db_res==0) 306 { 307 $db_res=1; 308 my $result = eval{$query->execute;}; 309 unless($result) { 310 if(/DBD::mysql::st execute failed: Deadlock found when trying to get lock; try restarting transaction/){ 311 $db_res=0; 312 sleep 3; 313 } 314 } 315 } 316 284 317 } 285 318 } -
branches/ccl_branches/ipp-20190806/ippMonitor/def/addRunProcessed.d
r31320 r40974 1 TABLE addRun , addProcessedExp1 TABLE addRun JOIN addProcessedExp USING (add_id) 2 2 TITLE Processed addRuns 3 3 FILE addRunProcessed.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 8 WHERE addRun.add_id = addProcessedExp.add_id9 7 10 8 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camIQstats.d
r36788 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Per-Exposure Image Quality Stats 3 3 FILE camIQstats.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE camRun.state = 'full' 8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 8 WHERE camProcessedExp.fault = 0 12 9 13 RESTRICT_COUNT AND dateobs >= CURDATE()14 UNRESTRICTED AND dateobs >= CURDATE()10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 15 12 16 13 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camPendingExp.d
r27892 r40974 1 TABLE camRun , chipRun, rawExp1 TABLE camRun JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Pending 3 3 FILE camPendingExp.php … … 5 5 6 6 WHERE camRun.state = 'new' 7 WHERE camRun.chip_id = chipRun.chip_id 8 WHERE chipRun.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 9 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 9 10 10 11 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camProcessedExp.d
r36788 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp1 TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Processed 3 3 FILE camProcessedExp.php … … 6 6 # the following WHERE clauses are added to all queries joined by AND 7 7 WHERE camRun.state = 'full' 8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 8 WHERE camProcessedExp.fault = 0 12 9 13 RESTRICT_COUNT AND dateobs >= CURDATE()14 UNRESTRICTED AND dateobs >= CURDATE()10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 15 12 16 13 # define the arguments supplied to the links below (if any) -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camProcessedExp_Images.d
r36788 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp1 TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Processed 3 3 FILE camProcessedExp_Images.php … … 6 6 # the following WHERE clauses are added to all queries joined by AND 7 7 WHERE camRun.state = 'full' 8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 8 WHERE camProcessedExp.fault = 0 12 9 13 RESTRICT_COUNT AND dateobs >= CURDATE()14 UNRESTRICTED AND dateobs >= CURDATE()10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 15 12 16 13 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camProcessedExp_NoImages.d
r36788 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp1 TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Processed (No Images) 3 3 FILE camProcessedExp_NoImages.php … … 6 6 # the following WHERE clauses are added to all queries joined by AND 7 7 WHERE camRun.state = 'full' 8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 8 WHERE camProcessedExp.fault = 0 12 9 13 RESTRICT_COUNT AND dateobs >= CURDATE()14 UNRESTRICTED AND dateobs >= CURDATE()10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 15 12 16 13 # define the arguments supplied to the links below (if any) -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camProcessedExp_failure.d
r27892 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp1 TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Failed Exposures 3 3 FILE camProcessedExp_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault != 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 11 12 12 # define the arguments supplied to the links below (if any) -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camProcessedImfile.d
r36788 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp, chipProcessedImfile1 TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) JOIN chipProcessedImfile using (chip_id) 2 2 TITLE Camera Processed Imfiles 3 3 FILE camProcessedImfile.php … … 6 6 # the following WHERE clauses are added to all queries joined by AND 7 7 WHERE camRun.state = 'full' 8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 WHERE chipProcessedImfile.chip_id = camRun.chip_id12 8 13 RESTRICT_COUNT AND dateobs >= CURDATE()14 UNRESTRICTED AND dateobs >= CURDATE()9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 15 11 16 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/camStageExp.d
r36788 r40974 1 TABLE camRun , chipRun, rawExp1 TABLE camRun JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) 2 2 TITLE Camera Stage Exposures 3 3 FILE camStageExp.php 4 4 MENU ipp.science.dat 5 5 6 WHERE camRun.chip_id = chipRun.chip_id 7 WHERE chipRun.exp_id = rawExp.exp_id 8 9 RESTRICT_COUNT AND dateobs >= CURDATE() 10 UNRESTRICTED AND dateobs >= CURDATE() 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 11 8 12 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipIQstats.d
r36788 r40974 1 TABLE chipRun , rawExp, chipProcessedImfile1 TABLE chipRun JOIN rawExp USING (exp_id) JOIN chipProcessedImfile using (chip_id) 2 2 TITLE Per-Chip Image Quality Stats 3 3 FILE chipIQstats.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE chipRun.state = 'full' 8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE chipRun.chip_id = chipProcessedImfile.chip_id10 8 11 RESTRICT_COUNT AND dateobs >= CURDATE()12 UNRESTRICTED AND dateobs >= CURDATE()9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 13 11 14 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipPendingExp.d
r27892 r40974 1 TABLE chipRun , rawExp1 TABLE chipRun JOIN rawExp using (exp_id) 2 2 TITLE chip Pending Exposures 3 3 FILE chipPendingExp.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE chipRun.state = 'new' 8 WHERE chipRun.exp_id = rawExp.exp_id 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 9 11 10 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipPendingImfile.d
r27892 r40974 1 TABLE chipRun , rawExp, rawImfile1 TABLE chipRun JOIN rawExp using (exp_id) JOIN rawImfile using (exp_id) 2 2 TITLE Chip Pending Imfiles 3 3 FILE chipPendingImfile.php … … 9 9 # limit this table to OBJECT types of images 10 10 WHERE chipRun.state = 'new' 11 WHERE chipRun.exp_id = rawExp.exp_id 12 WHERE rawImfile.exp_id = rawExp.exp_id 11 12 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 13 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 13 14 14 15 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipProcessedExp.d
r36788 r40974 1 TABLE chipRun , rawExp1 TABLE chipRun JOIN rawExp using (exp_id) 2 2 TITLE chip Processed Exposures 3 3 FILE chipProcessedExp.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE chipRun.state != 'new' 8 WHERE chipRun.exp_id = rawExp.exp_id9 8 10 RESTRICT_COUNT AND dateobs >= CURDATE()11 UNRESTRICTED AND dateobs >= CURDATE()9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 11 13 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipProcessedImfile.d
r36788 r40974 1 TABLE chipRun , rawExp, chipProcessedImfile1 TABLE chipRun JOIN rawExp using (exp_id) JOIN chipProcessedImfile using (chip_id) 2 2 TITLE chip Processed Imfile 3 3 FILE chipProcessedImfile.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE chipRun.exp_id = rawExp.exp_id8 WHERE chipProcessedImfile.exp_id = chipRun.exp_id9 WHERE chipProcessedImfile.chip_id = chipRun.chip_id10 7 WHERE chipProcessedImfile.fault = 0 11 8 12 RESTRICT_COUNT AND dateobs >= CURDATE()13 UNRESTRICTED AND dateobs >= CURDATE()9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 14 11 15 12 #UNRESTRICTED WHERE 0=1 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipProcessedImfile_failure.d
r37983 r40974 1 TABLE chipRun , rawExp, chipProcessedImfile1 TABLE chipRun JOIN rawExp using (exp_id) JOIN chipProcessedImfile using (chip_id) 2 2 TITLE Chip Failed Imfiles 3 3 FILE chipProcessedImfile_failure.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE chipRun.exp_id = rawExp.exp_id8 WHERE chipProcessedImfile.exp_id = chipRun.exp_id9 WHERE chipProcessedImfile.chip_id = chipRun.chip_id10 7 WHERE chipProcessedImfile.fault != 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 11 12 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/chipStageExp.d
r36788 r40974 1 TABLE chipRun , rawExp1 TABLE chipRun JOIN rawExp using (exp_id) 2 2 TITLE Chip Stage Exposures 3 3 FILE chipStageExp.php 4 4 MENU ipp.science.dat 5 5 6 WHERE chipRun.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT AND dateobs >= CURDATE() 9 UNRESTRICTED AND dateobs >= CURDATE() 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 10 8 11 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detInputExp.d
r39498 r40974 1 TABLE detInputExp , rawExp1 TABLE detInputExp JOIN rawExp USING (exp_id) 2 2 TITLE detInputExp 3 3 FILE detInputExp.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE detInputExp.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT WHERE dateobs >= CURDATE() 9 UNRESTRICTED WHERE dateobs >= CURDATE() 8 10 9 11 ARGS ARG1 rawImfile.exp_id=$detInputExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detNormalizedExp.d
r15954 r40974 1 TABLE detNormalizedExp , detRun1 TABLE detNormalizedExp JOIN detRun USING (det_id) 2 2 TITLE detNormalizedExp 3 3 FILE detNormalizedExp.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detNormalizedExp.det_id = detRun.det_id8 7 # WHERE detNormalizedExp.iteration = detRun.iteration 9 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detNormalizedExp_failure.d
r19726 r40974 1 TABLE detNormalizedExp , detRun1 TABLE detNormalizedExp JOIN detRun USING (det_id) 2 2 TITLE detNormalizedExp Failures 3 3 FILE detNormalizedExp_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detNormalizedExp.det_id = detRun.det_id8 7 WHERE detNormalizedExp.fault > 0 9 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detNormalizedImfile.d
r24218 r40974 1 TABLE detNormalizedImfile , detRun1 TABLE detNormalizedImfile JOIN detRun USING (det_id) 2 2 TITLE detNormalizedImfile 3 3 FILE detNormalizedImfile.php 4 4 MENU ipp.imfiles.dat 5 6 WHERE detNormalizedImfile.det_id = detRun.det_id7 5 8 6 ARGS ARG1 detNormalizedImfile.det_id=$detNormalizedImfile.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detProcessedExp.d
r19726 r40974 1 TABLE detProcessedExp , rawExp1 TABLE detProcessedExp JOIN rawExp USING (exp_id) 2 2 TITLE detProcessedExp 3 3 FILE detProcessedExp.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detProcessedExp.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 9 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 8 10 9 11 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detProcessedExp_failure.d
r28043 r40974 1 TABLE detProcessedExp , rawExp1 TABLE detProcessedExp JOIN rawExp USING (exp_id) 2 2 TITLE detProcessedExp Failures 3 3 FILE detProcessedExp_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detProcessedExp.exp_id = rawExp.exp_id8 7 WHERE detProcessedExp.fault > 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 9 11 10 12 ARGS ARG1 detProcessedImfile.det_id=$detProcessedExp.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detProcessedExp_noimage.d
r19726 r40974 1 TABLE detProcessedExp , rawExp1 TABLE detProcessedExp JOIN rawExp USING (exp_id) 2 2 TITLE detProcessedExp 3 3 FILE detProcessedExp_noimage.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detProcessedExp.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 9 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 8 10 9 11 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detProcessedImfile.d
r26888 r40974 1 TABLE detProcessedImfile , rawExp1 TABLE detProcessedImfile JOIN rawExp USING (exp_id) 2 2 TITLE detProcessedImfile 3 3 FILE detProcessedImfile.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detProcessedImfile.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 9 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 8 10 9 11 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detProcessedImfile_failure.d
r19726 r40974 1 TABLE detProcessedImfile , rawExp, rawImfile1 TABLE detProcessedImfile JOIN rawExp USING (exp_id) JOIN rawImfile USING (exp_id) 2 2 TITLE detProcessedImfile Failures 3 3 FILE detProcessedImfile_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detProcessedImfile.exp_id = rawExp.exp_id8 WHERE detProcessedImfile.exp_id = rawImfile.exp_id9 7 WHERE detProcessedImfile.class_id = rawImfile.class_id 10 8 WHERE detProcessedImfile.fault > 0 9 10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 12 12 13 ARGS ARG1 detProcessedImfile.det_id=$detProcessedImfile.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detRegisteredImfile.d
r24218 r40974 1 TABLE detRegisteredImfile , detRun1 TABLE detRegisteredImfile JOIN detRun USING (det_id) 2 2 TITLE detRegisteredImfile 3 3 FILE detRegisteredImfile.php 4 4 MENU ipp.imfiles.dat 5 6 WHERE detRegisteredImfile.det_id = detRun.det_id7 5 8 6 ARGS ARG1 detRegisteredImfile.det_id=$detRegisteredImfile.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detResidExp.d
r24867 r40974 1 TABLE detResidExp , rawExp, detInputExp1 TABLE detResidExp JOIN rawExp USING (exp_id) JOIN detInputExp USING (det_id) 2 2 TITLE detResidExp 3 3 FILE detResidExp.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResidExp.exp_id = rawExp.exp_id8 WHERE detResidExp.det_id = detInputExp.det_id9 7 WHERE detResidExp.exp_id = detInputExp.exp_id 10 8 WHERE detResidExp.iteration = detInputExp.iteration 9 10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 12 12 13 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detResidExp_failure.d
r19726 r40974 1 TABLE detResidExp , rawExp, detInputExp1 TABLE detResidExp JOIN rawExp USING (exp_id) JOIN detInputExp USING (exp_id) 2 2 TITLE detResidExp Failures 3 3 FILE detResidExp_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResidExp.exp_id = rawExp.exp_id8 WHERE detResidExp.exp_id = detInputExp.exp_id9 7 WHERE detResidExp.iteration = detInputExp.iteration 10 8 WHERE detResidExp.fault > 0 9 10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 12 12 13 # define the arguments supplied to the links below (if any) -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detResidExp_noimage.d
r19811 r40974 1 TABLE detResidExp , rawExp, detInputExp1 TABLE detResidExp JOIN rawExp USING (exp_id) JOIN detInputExp USING (exp_id) 2 2 TITLE detResidExp 3 3 FILE detResidExp_noimage.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResidExp.exp_id = rawExp.exp_id8 WHERE detResidExp.exp_id = detInputExp.exp_id9 7 WHERE detResidExp.iteration = detInputExp.iteration 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 10 11 11 12 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detResidImfile.d
r26888 r40974 1 TABLE detResidImfile , rawImfile1 TABLE detResidImfile JOIN rawImfile USING (exp_id) 2 2 TITLE detResidImfile 3 3 FILE detResidImfile.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResidImfile.exp_id = rawImfile.exp_id8 7 WHERE detResidImfile.class_id = rawImfile.class_id 9 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detResidImfile_failure.d
r19726 r40974 1 TABLE detResidImfile , rawExp, rawImfile1 TABLE detResidImfile JOIN rawExp USING (exp_id) JOIN rawImfile USING (exp_id) 2 2 TITLE detResidImfile Failures 3 3 FILE detResidImfile_failure.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResidImfile.exp_id = rawExp.exp_id8 WHERE detResidImfile.exp_id = rawImfile.exp_id9 7 WHERE detResidImfile.class_id = rawImfile.class_id 10 8 WHERE detResidImfile.fault > 0 9 10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 12 12 13 ARGS ARG1 detResidImfile.det_id=$detResidImfile.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detRunActive.d
r40828 r40974 1 TABLE detRun LEFT JOIN detRunSummary using (det_id)1 TABLE detRun LEFT JOIN detRunSummary using (det_id) 2 2 TITLE Active Detrend Runs 3 3 FILE detRunActive.php -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detRunSummary.d
r39498 r40974 1 TABLE detRunSummary , detRun1 TABLE detRunSummary JOIN detRun USING (det_id) 2 2 TITLE Detrend Run Iterations (does not list registered frames) 3 3 FILE detRunSummary.php 4 4 MENU ipp.detrend.dat 5 6 WHERE detRunSummary.det_id = detRun.det_id7 5 8 6 ARGS ARG1 detInputExp.det_id=$detRunSummary.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detStackedImfile.d
r24218 r40974 1 TABLE detStackedImfile , detRun1 TABLE detStackedImfile JOIN detRun USING (det_id) 2 2 TITLE detStackedImfile 3 3 FILE detStackedImfile.php 4 4 MENU ipp.imfiles.dat 5 6 WHERE detStackedImfile.det_id = detRun.det_id7 5 8 6 # XXX change uri to path_base in db -
branches/ccl_branches/ipp-20190806/ippMonitor/def/detStackedImfile_failure.d
r24016 r40974 1 TABLE detStackedImfile , detRun1 TABLE detStackedImfile JOIN detRun USING (det_id) 2 2 TITLE detStackedImfile Failures 3 3 FILE detStackedImfile_failure.php … … 5 5 6 6 WHERE fault > 0 7 WHERE detStackedImfile.det_id = detRun.det_id8 7 9 8 ARGS ARG1 detStackedImfile.det_id =$detStackedImfile.det_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/diffFailedSkyfile.d
r27892 r40974 1 TABLE diffRun , diffSkyfile1 TABLE diffRun JOIN diffSkyfile USING (diff_id) 2 2 TITLE Diff Failed Skyfiles 3 3 FILE diffFailedSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE diffRun.diff_id = diffSkyfile.diff_id7 6 WHERE diffSkyfile.fault != 0 8 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/diffInputSkyfile.d
r36788 r40974 1 TABLE diffInputSkyfile , diffRun1 TABLE diffInputSkyfile JOIN diffRun USING (diff_id) 2 2 TITLE diffInputSkyfile 3 3 FILE diffInputSkyfile.php 4 4 MENU ipp.stack.dat 5 6 WHERE diffInputSkyfile.diff_id = diffRun.diff_id7 8 RESTRICT_COUNT AND 0 = 19 UNRESTRICTED AND 0 = 110 5 11 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/diffProcessedSkyfile.d
r36788 r40974 1 TABLE diffRun , diffSkyfile1 TABLE diffRun JOIN diffSkyfile USING (diff_id) 2 2 TITLE Diff Processed Skyfiles 3 3 FILE diffProcessedSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE diffRun.diff_id = diffSkyfile.diff_id7 6 # WHERE diffRun.state = 'full' 8 7 # WHERE diffSkyfile.fault = 0 9 10 RESTRICT_COUNT AND 0 = 111 UNRESTRICTED AND 0 = 112 8 13 9 ARGS ARG7 diffSkyfile.diff_id=$diffSkyfile.diff_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/diffProcessedSkyfile_Images.d
r36788 r40974 1 TABLE diffRun , diffSkyfile1 TABLE diffRun JOIN diffSkyfile USING (diff_id) 2 2 TITLE Diff Processed Skyfiles 3 3 FILE diffProcessedSkyfile_Images.php … … 7 7 #UNRESTRICTED AND dateobs >= CURDATE() 8 8 9 UNRESTRICTED AND 0>110 RESTRICT_COUNT AND 0>111 12 WHERE diffRun.diff_id = diffSkyfile.diff_id13 9 # WHERE diffRun.state = 'full' 14 10 # WHERE diffSkyfile.fault = 0 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/diffSummary_Images.d
r34011 r40974 1 TABLE diffRun , diffSkyfile, diffSummary1 TABLE diffRun JOIN diffSkyfile USING (diff_id) JOIN diffSummary USING (diff_id) 2 2 TITLE Diff Summary w/ Images 3 3 FILE diffSummary_Images.php … … 6 6 UNRESTRICTED AND 0>1 7 7 8 WHERE diffRun.diff_id = diffSkyfile.diff_id9 WHERE diffSummary.diff_id = diffRun.diff_id10 8 # WHERE diffRun.state = 'full' 11 9 # WHERE diffSkyfile.fault = 0 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/distRun.d
r35299 r40974 1 TABLE distRun , distComponent1 TABLE distRun JOIN distComponent USING (dist_id) 2 2 TITLE Distribution Runs 3 3 FILE distRun.php … … 6 6 # the following WHERE clauses are added to all queries joined by AND 7 7 8 WHERE distRun.dist_id = distComponent.dist_id 9 UNRESTRICTED AND 0=1 10 RESTRICT_COUNT AND 0>1 8 UNRESTRICTED WHERE distRun.time_stamp >= CURDATE() 9 RESTRICT_COUNT WHERE distRun.time_stamp >= CURDATE() 11 10 12 11 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedCamProcessedExp.d
r37983 r40974 1 TABLE camRun , camProcessedExp, chipRun, rawExp1 TABLE camRun JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Camera Failed Exposures 3 3 FILE failedCamProcessedExp.php … … 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault != 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 11 12 12 # define the arguments supplied to the links below (if any) -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedChipProcessedImfile.d
r37983 r40974 1 TABLE chipRun , rawExp, chipProcessedImfile1 TABLE chipRun JOIN rawExp USING (exp_id) JOIN chipProcessedImfile USING (chip_id) 2 2 TITLE Chip Failed Imfiles 3 3 FILE failedChipProcessedImfile.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE chipRun.exp_id = rawExp.exp_id 8 WHERE chipProcessedImfile.exp_id = chipRun.exp_id9 WHERE chipProcessedImfile.chip_id = chipRun.chip_id10 8 WHERE chipProcessedImfile.fault != 0 9 10 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 11 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 12 12 13 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedDiffSkyfile.d
r32028 r40974 1 TABLE diffRun , diffSkyfile1 TABLE diffRun JOIN diffSkyfile USING (diff_id) 2 2 TITLE Diff Failed Skyfiles 3 3 FILE failedDiffSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE diffRun.diff_id = diffSkyfile.diff_id7 6 WHERE diffSkyfile.fault != 0 8 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedFakeProcessedImfile.d
r32028 r40974 1 TABLE fakeRun , fakeProcessedImfile, camRun, chipRun, rawExp1 TABLE fakeRun JOIN fakeProcessedImfile USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE fake Processed Imfile 3 3 FILE failedFakeProcessedImfile.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE fakeRun.cam_id = camRun.cam_id8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE fakeProcessedImfile.fake_id = fakeRun.fake_id11 7 WHERE fakeProcessedImfile.fault != 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 11 13 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedFullForceSkyfiles.d
r38216 r40974 1 TABLE fullForceResult , fullForceRun1 TABLE fullForceResult JOIN fullForceRun USING (ff_id) 2 2 TITLE FullForce Failed Skyfiles 3 3 FILE failedFullForceSkyfiles.php 4 4 MENU ipp.science.dat 5 5 6 WHERE fullForceResult.ff_id = fullForceRun.ff_id7 6 WHERE fullForceResult.fault != 0 8 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedStackSkyfile.d
r32028 r40974 1 TABLE stackRun , stackSumSkyfile1 TABLE stackRun JOIN stackSumSkyfile USING (stack_id) 2 2 TITLE Stack Failed Skyfiles 3 3 FILE failedStackSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE stackRun.stack_id = stackSumSkyfile.stack_id7 6 WHERE stackSumSkyfile.fault != 0 8 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedStaticsky.d
r40844 r40974 1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING(sky_id) JOIN stackRun USING(stack_id)1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING (sky_id) JOIN stackRun USING (stack_id) 2 2 TITLE Static Sky Failed 3 3 FILE failedStaticsky.php -
branches/ccl_branches/ipp-20190806/ippMonitor/def/failedWarpSkyfiles.d
r37983 r40974 1 TABLE warpSkyfile , warpRun, fakeRun, camRun, chipRun, rawExp1 TABLE warpSkyfile JOIN warpRun USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Warp Failed Skyfiles 3 3 FILE failedWarpSkyfiles.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpSkyfile.warp_id = warpRun.warp_id7 WHERE warpRun.fake_id = fakeRun.fake_id8 WHERE fakeRun.cam_id = camRun.cam_id9 WHERE camRun.chip_id = chipRun.chip_id10 WHERE chipRun.exp_id = rawExp.exp_id11 6 WHERE warpSkyfile.fault != 0 7 8 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 9 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 10 13 11 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakePendingExp.d
r27892 r40974 1 TABLE fakeRun , camRun, chipRun, rawExp1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE fake Pending Exposures 3 3 FILE fakePendingExp.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE fakeRun.state = 'new' 8 WHERE fakeRun.cam_id = camRun.cam_id 9 WHERE camRun.chip_id = chipRun.chip_id 10 WHERE chipRun.exp_id = rawExp.exp_id 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 11 12 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakePendingImfile.d
r27892 r40974 1 TABLE fakeRun , camRun, chipRun, rawExp, rawImfile1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN rawImfile USING (exp_id) 2 2 TITLE Fake Pending Imfiles 3 3 FILE fakePendingImfile.php … … 5 5 6 6 WHERE fakeRun.state = 'new' 7 WHERE fakeRun.cam_id = camRun.cam_id 8 WHERE camRun.chip_id = chipRun.chip_id 9 WHERE chipRun.exp_id = rawExp.exp_id 10 WHERE rawImfile.exp_id = rawExp.exp_id 7 8 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 9 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 10 12 11 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakeProcessedExp.d
r27892 r40974 1 TABLE fakeRun , camRun, chipRun, rawExp1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE fake Processed Exposures 3 3 FILE fakeProcessedExp.php … … 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE fakeRun.state != 'new' 8 WHERE fakeRun.cam_id = camRun.cam_id 9 WHERE camRun.chip_id = chipRun.chip_id 10 WHERE chipRun.exp_id = rawExp.exp_id 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 11 11 12 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakeProcessedImfile.d
r27892 r40974 1 TABLE fakeRun , fakeProcessedImfile, camRun, chipRun, rawExp1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN fakeProcessedImfile USING (fake_id) 2 2 TITLE fake Processed Imfile 3 3 FILE fakeProcessedImfile.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE fakeRun.cam_id = camRun.cam_id8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE fakeProcessedImfile.fake_id = fakeRun.fake_id11 7 WHERE fakeProcessedImfile.fault = 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 11 13 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakeProcessedImfile_failure.d
r27892 r40974 1 TABLE fakeRun , fakeProcessedImfile, camRun, chipRun, rawExp1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN fakeProcessedImfile USING (fake_id) 2 2 TITLE fake Processed Imfile 3 3 FILE fakeProcessedImfile_failure.php … … 5 5 6 6 # limit this table to non-OBJECT types of images 7 WHERE fakeRun.cam_id = camRun.cam_id8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE chipRun.exp_id = rawExp.exp_id10 WHERE fakeProcessedImfile.fake_id = fakeRun.fake_id11 7 WHERE fakeProcessedImfile.fault != 0 8 9 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 10 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 11 13 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fakeStageExp.d
r27892 r40974 1 TABLE fakeRun , camRun, chipRun, rawExp1 TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Fake Stage Exposures 3 3 FILE fakeStageExp.php 4 4 MENU ipp.science.dat 5 5 6 WHERE fakeRun.cam_id = camRun.cam_id 7 WHERE camRun.chip_id = chipRun.chip_id 8 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 9 8 10 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/flatcorrCamera.d
r27892 r40974 1 TABLE flatcorrCamLink , flatcorrRun, camRun, chipRun, rawExp1 TABLE flatcorrCamLink JOIN flatcorrRun USING (corr_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE flatcorr Camera Runs 3 3 FILE flatcorrCamera.php 4 4 MENU ipp.detrend.dat 5 5 6 WHERE flatcorrRun.corr_id = flatcorrCamLink.corr_id 7 WHERE flatcorrCamLink.cam_id = camRun.cam_id 8 WHERE flatcorrCamLink.chip_id = chipRun.chip_id 9 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 10 8 11 9 OP OP1 $rawExp.ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/flatcorrChip.d
r27892 r40974 1 TABLE flatcorrChipLink , flatcorrRun, chipRun, rawExp1 TABLE flatcorrChipLink JOIN flatcorrRun USING (corr_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE flatcorr Chip Runs 3 3 FILE flatcorrChip.php 4 4 MENU ipp.detrend.dat 5 5 6 WHERE flatcorrRun.corr_id = flatcorrChipLink.corr_id 7 WHERE flatcorrChipLink.chip_id = chipRun.chip_id 8 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 9 8 10 9 OP OP1 $rawExp.ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fullforceFailedSkyfile.d
r40844 r40974 1 TABLE fullForceInput , fullForceRun, warpRun, fullForceResult1 TABLE fullForceInput JOIN fullForceRun USING (ff_id) JOIN warpRun USING (warp_id) JOIN fullForceResult USING (ff_id) 2 2 TITLE Full Force Failed 3 3 FILE fullforceFailedSkyfile.php 4 4 MENU ipp.ffs.dat 5 5 6 WHERE fullForceRun.ff_id = fullForceInput.ff_id7 WHERE fullForceInput.warp_id = warpRun.warp_id8 WHERE fullForceInput.ff_id = fullForceResult.ff_id9 6 WHERE fullForceResult.fault != 0 10 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fullforceProcessedSkyfile.d
r40844 r40974 1 TABLE fullForceInput , fullForceRun, warpRun, fullForceResult1 TABLE fullForceInput JOIN fullForceRun USING (ff_id) JOIN warpRun USING (warp_id) JOIN fullForceResult USING (ff_id) 2 2 TITLE Full Force Processed 3 3 FILE fullforceProcessedSkyfile.php 4 4 MENU ipp.ffs.dat 5 6 WHERE fullForceRun.ff_id = fullForceInput.ff_id7 WHERE fullForceInput.warp_id = warpRun.warp_id8 WHERE fullForceInput.ff_id = fullForceResult.ff_id9 5 10 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/fullforce_failure.d
r38223 r40974 1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING(sky_id) JOIN stackRun USING(stack_id)1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING (sky_id) JOIN stackRun USING (stack_id) 2 2 TITLE Static Sky Failed (Log) 3 3 FILE failedStaticsky.php -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramBackgroundImage.d
r34196 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE New histogram background 3 3 FILE histogramBackgroundImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramCamProcessedExpImage.d
r34195 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE Histogram fwhm major (camProcessedExp) 3 3 FILE histogramCamProcessedExpImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramChipProcessedImfileFwhmMajorImage.d
r28601 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp, chipProcessedImfile1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) JOIN chipProcessedImfile USING (chip_id) 2 2 TITLE Histogram fwhm major (chipProcessedImfile) 3 3 FILE histogramChipProcessedImfileFwhmMajorImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE chipProcessedImfile.exp_id = rawExp.exp_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camRun.chip_id = chipRun.chip_id10 WHERE camProcessedExp.cam_id = camRun.cam_id11 7 WHERE camProcessedExp.fault = 0 12 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramChipRunFwhmMajorImage.d
r28601 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE Histogram fwhm major (camProcessedExp) 3 3 FILE histogramCamProcessedExpImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramFwhmMajorImage.d
r28601 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE New histogram fwhm major 3 3 FILE histogramFwhmMajorImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramFwhmMinorImage.d
r28601 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE New histogram fwhm minor 3 3 FILE histogramFwhmMinorImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/histogramZptObsImage.d
r34196 r40974 1 TABLE camRun , chipRun, rawExp, camProcessedExp1 TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id) 2 2 TITLE Histogram of ZptObs 3 3 FILE histogramZptObsImage.php … … 5 5 6 6 WHERE camRun.state = 'full' 7 WHERE camRun.chip_id = chipRun.chip_id8 WHERE chipRun.exp_id = rawExp.exp_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 WHERE camProcessedExp.fault = 0 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/maskStats.d
r33846 r40974 1 TABLE rawExp , chipRun, camRun, fakeRun, warpRun1 TABLE rawExp JOIN chipRun USING (exp_id) JOIN camRun USING (chip_id) JOIN fakeRun USING (cam_id) JOIN warpRun USING (fake_id) 2 2 TITLE Mask Stats 3 3 FILE maskStats.php 4 4 MENU ipp.czar.dat 5 5 6 WHERE rawExp.exp_id = chipRun.exp_id 7 WHERE chipRun.chip_id = camRun.chip_id 8 WHERE camRun.cam_id = fakeRun.cam_id 9 WHERE fakeRun.fake_id = warpRun.fake_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 10 8 11 9 OP OP1 $ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/newImfile.d
r34013 r40974 4 4 MENU ipp.load.dat 5 5 6 UNRESTRICTED WHERE 0>17 8 6 # field size format name show link to extras 9 7 FIELD exp_id, 5, %d, exposure ID -
branches/ccl_branches/ipp-20190806/ippMonitor/def/newsimplePlotStaticskyImage.d
r35742 r40974 1 TABLE staticskyRun , staticskyInput, stackRun, skycell1 TABLE staticskyRun JOIN staticskyInput USING (sky_id) JOIN stackRun USING (stack_id) JOIN skycell using (skycell_id) 2 2 TITLE New sky plot - staticsky 3 3 FILE simplePlotStaticskyImage.php … … 5 5 6 6 WHERE staticskyRun.state != 'new' 7 WHERE staticskyRun.sky_id = staticskyInput.sky_id8 WHERE staticskyInput.stack_id = stackRun.stack_id9 WHERE stackRun.skycell_id = skycell.skycell_id10 7 WHERE stackRun.tess_id = skycell.tess_id 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/publishDone.d
r32025 r40974 1 TABLE publishRun , publishClient, publishDone1 TABLE publishRun JOIN publishClient USING (client_id) JOIN publishDone USING (pub_id) 2 2 TITLE Publish Done 3 3 FILE publishDone.php 4 4 MENU ipp.dist.dat 5 6 WHERE publishRun.client_id = publishClient.client_id7 WHERE publishRun.pub_id = publishDone.pub_id8 5 9 6 ARGS ARG1 basename=$publishDone.path_base -
branches/ccl_branches/ipp-20190806/ippMonitor/def/publishRun.d
r27197 r40974 1 TABLE publishRun , publishClient1 TABLE publishRun JOIN publishClient USING (client_id) 2 2 TITLE Publish Runs 3 3 FILE publishRun.php 4 4 MENU ipp.dist.dat 5 6 WHERE publishRun.client_id = publishClient.client_id7 5 8 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/publishSummary.d
r26991 r40974 1 TABLE publishRun , publishClient1 TABLE publishRun JOIN publishClient USING (client_id) 2 2 TITLE Publish Summary 3 3 FILE publishSummary.php 4 4 MENU ipp.dist.dat 5 6 WHERE publishRun.client_id = publishClient.client_id7 5 8 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/pzDoneImfile.d
r34013 r40974 4 4 MENU ipp.load.dat 5 5 6 UNRESTRICTED AND 0>1 7 8 WHERE pzDownloadImfile.fault = 0 6 #WHERE pzDownloadImfile.fault = 0 9 7 10 8 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/pzPendingImfile.d
r34013 r40974 3 3 FILE pzPendingImfile.php 4 4 MENU ipp.load.dat 5 6 UNRESTRICTED AND 0>17 5 8 6 WHERE summitImfile.exp_name = pzDownloadExp.exp_name -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawDetrendExp.d
r19868 r40974 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE (rawExp.exp_type != 'OBJECT' and rawExp.exp_type != 'LIGHT') 8 9 RESTRICT_COUNT AND dateobs >= CURDATE() 10 UNRESTRICTED AND dateobs >= CURDATE() 8 11 9 12 ARGS ARG1 exp_id=$exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawDetrendExp_detrend.d
r28597 r40974 6 6 # limit this table to non-OBJECT types of images 7 7 WHERE rawExp.exp_type != 'OBJECT' 8 9 RESTRICT_COUNT AND dateobs >= CURDATE() 10 UNRESTRICTED AND dateobs >= CURDATE() 8 11 9 12 ARGS ARG1 rawImfile.exp_id=$exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawExp.d
r28451 r40974 5 5 6 6 ARGS ARG1 rawImfile.exp_id=$exp_id 7 8 RESTRICT_COUNT WHERE dateobs >= CURDATE() 9 UNRESTRICTED WHERE dateobs >= CURDATE() 7 10 8 11 OP OP1 $ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawExpStats.d
r27674 r40974 5 5 6 6 ARGS ARG1 rawImfile.exp_id=$exp_id 7 8 RESTRICT_COUNT WHERE dateobs >= CURDATE() 9 UNRESTRICTED WHERE dateobs >= CURDATE() 7 10 8 11 OP OP1 $ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawExp_failed.d
r24867 r40974 7 7 WHERE fault > 0 8 8 WHERE rawExp.exp_type = 'OBJECT' 9 10 RESTRICT_COUNT AND dateobs >= CURDATE() 11 UNRESTRICTED AND dateobs >= CURDATE() 9 12 10 13 ARGS ARG1 exp_id=$exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawImfile.d
r34013 r40974 2 2 TITLE Raw Image File 3 3 FILE rawImfile.php 4 MENU ipp. imfiles.dat4 MENU ipp.load.dat 5 5 6 6 # HEAD PHP insert_backref ("rawExp.php", "exp_id", $ID['link']); 7 7 8 UNRESTRICTED WHERE 0>18 UNRESTRICTED WHERE dateobs >= CURDATE() 9 9 10 10 OP OP1 $ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/rawScienceExp.d
r24760 r40974 6 6 # limit this table to OBJECT types of images 7 7 WHERE (rawExp.exp_type = 'OBJECT' or rawExp.exp_type = 'LIGHT') 8 9 RESTRICT_COUNT AND dateobs >= CURDATE() 10 UNRESTRICTED AND dateobs >= CURDATE() 8 11 9 12 ARGS ARG1 rawImfile.exp_id=$exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotCamImage.d
r34431 r40974 1 TABLE camProcessedExp , camRun, chipRun, rawExp1 TABLE camProcessedExp JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE New sky plot - cam 3 3 FILE simplePlotCamImage.php … … 5 5 6 6 WHERE camRun.state != 'new' 7 WHERE chipRun.exp_id = rawExp.exp_id8 WHERE camRun.chip_id = chipRun.chip_id9 WHERE camProcessedExp.cam_id = camRun.cam_id10 7 11 8 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotChipImage.d
r34189 r40974 1 TABLE chipRun , rawExp1 TABLE chipRun JOIN rawExp USING (exp_id) 2 2 TITLE New sky plot - chip 3 3 FILE simplePlotChipImage.php … … 5 5 6 6 WHERE chipRun.state != 'new' 7 WHERE chipRun.exp_id = rawExp.exp_id8 7 9 8 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotChipQueue.d
r37983 r40974 1 TABLE chipRun , rawExp1 TABLE chipRun JOIN rawExp USING (exp_id) 2 2 TITLE New sky plot - chip 3 3 FILE simplePlotChipQueue.php 4 4 MENU ipp.plots.dat 5 6 WHERE chipRun.exp_id = rawExp.exp_id7 5 8 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotDiffImage.d
r37983 r40974 1 TABLE diffRun , diffSkyfile, skycell1 TABLE diffRun JOIN diffSkyfile USING (diff_id) JOIN skycell USING (skycell_id) 2 2 TITLE New sky plot - diff 3 3 FILE simplePlotDiffImage.php … … 5 5 6 6 WHERE diffRun.state != 'new' 7 WHERE diffRun.diff_id = diffSkyfile.diff_id8 WHERE diffSkyfile.skycell_id = skycell.skycell_id9 7 WHERE diffRun.tess_id = skycell.tess_id 10 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotFullForceImage.d
r38220 r40974 1 1 # TABLE fullForceRun, fullForceResult, skycalRun, stackRun, skycell 2 TABLE fullForceRun , skycalRun, stackRun, skycell2 TABLE fullForceRun JOIN skycalRun USING (skycal_id) JOIN stackRun USING (stack_id) JOIN skycell USING (skycell_id) 3 3 TITLE New sky plot - fullForce 4 4 FILE simplePlotFullForceImage.php … … 6 6 7 7 # WHERE fullForceResult.ff_id = fullForceRun.ff_id 8 WHERE fullForceRun.skycal_id = skycalRun.skycal_id9 WHERE skycalRun.stack_id = stackRun.stack_id10 8 WHERE stackRun.tess_id = skycell.tess_id 11 WHERE stackRun.skycell_id = skycell.skycell_id12 9 WHERE fullForceRun.state != 'new' 13 10 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotSkycalImage.d
r39805 r40974 1 TABLE skycalRun , skycalResult, stackRun, skycell1 TABLE skycalRun JOIN skycalResult USING (skycal_id) JOIN stackRun USING (stack_id) JOIN skycell USING (skycell_id) 2 2 TITLE New sky plot - skycal 3 3 FILE simplePlotSkycalImage.php … … 5 5 6 6 WHERE skycalRun.state = 'full' 7 WHERE skycalRun.skycal_id = skycalResult.skycal_id8 WHERE skycalRun.stack_id = stackRun.stack_id9 WHERE stackRun.skycell_id = skycell.skycell_id10 7 WHERE stackRun.tess_id = skycell.tess_id 11 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotStackImage.d
r34436 r40974 1 TABLE stackRun , stackSumSkyfile, skycell1 TABLE stackRun JOIN stackSumSkyfile USING (stack_id) JOIN skycell USING (skycell_id) 2 2 TITLE New sky plot - stack 3 3 FILE simplePlotStackImage.php … … 5 5 6 6 WHERE stackRun.state != 'new' 7 WHERE stackRun.stack_id = stackSumSkyfile.stack_id8 WHERE stackRun.skycell_id = skycell.skycell_id9 7 WHERE stackRun.tess_id = skycell.tess_id 10 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/simplePlotStaticskyImage.d
r39805 r40974 1 TABLE staticskyRun , staticskyResult, staticskyInput, stackRun, skycell1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING (sky_id) JOIN stackRun USING (stack_id) JOIN skycell USING (skycell_id) 2 2 TITLE New sky plot - staticsky 3 3 FILE simplePlotStaticskyImage.php … … 5 5 6 6 WHERE staticskyRun.state = 'full' 7 WHERE staticskyRun.sky_id = staticskyResult.sky_id8 WHERE staticskyRun.sky_id = staticskyInput.sky_id9 WHERE staticskyInput.stack_id = stackRun.stack_id10 WHERE stackRun.skycell_id = skycell.skycell_id11 7 WHERE stackRun.tess_id = skycell.tess_id 12 8 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/skycalFailedSkyfile.d
r40844 r40974 1 TABLE skycalRun , skycalResult, stackRun1 TABLE skycalRun JOIN skycalResult USING (skycal_id) JOIN stackRun USING (stack_id) 2 2 TITLE Skycal Failed Skyfiles 3 3 FILE skycalfailedSkyfile.php 4 4 MENU ipp.sky.dat 5 5 6 WHERE skycalRun.stack_id = stackRun.stack_id7 WHERE skycalRun.skycal_id = skycalResult.skycal_id8 6 WHERE skycalResult.fault != 0 9 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/skycalProcessedSkyfile.d
r40844 r40974 1 TABLE skycalRun , skycalResult, stackRun1 TABLE skycalRun JOIN skycalResult USING (skycal_id) JOIN stackRun USING (stack_id) 2 2 TITLE Skycal Processed Skyfiles 3 3 FILE skycalProcessedSkyfile.php 4 4 MENU ipp.sky.dat 5 6 WHERE skycalRun.stack_id = stackRun.stack_id7 WHERE skycalRun.skycal_id = skycalResult.skycal_id8 5 9 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/skycalRun.d
r40844 r40974 1 TABLE skycalRun , stackRun1 TABLE skycalRun JOIN stackRun USING (stack_id) 2 2 TITLE skycalRun 3 3 FILE skycalRun.php 4 4 MENU ipp.sky.dat 5 6 WHERE skycalRun.stack_id = stackRun.stack_id7 5 8 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/skycal_failure.d
r40844 r40974 1 TABLE skycalRun , skycalResult, stackRun1 TABLE skycalRun JOIN skycalResult USING (skycal_id) JOIN stackRun USING (stack_id) 2 2 TITLE skycal Failure 3 3 FILE skycal_failure.php 4 4 MENU ipp.sky.dat 5 5 6 WHERE skycalRun.stack_id = stackRun.stack_id7 WHERE skycalRun.skycal_id = skycalResult.skycal_id8 6 WHERE skycalResult.fault != 0 9 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/stackFailedSkyfile.d
r27892 r40974 1 TABLE stackRun , stackSumSkyfile1 TABLE stackRun JOIN stackSumSkyfile USING (stack_id) 2 2 TITLE Stack Failed Skyfiles 3 3 FILE stackFailedSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE stackRun.stack_id = stackSumSkyfile.stack_id7 6 WHERE stackSumSkyfile.fault != 0 8 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/stackInputSkyfile.d
r30989 r40974 1 TABLE stackInputSkyfile , stackRun, warpRun, warpSkyfile, fakeRun, camRun, camProcessedExp, chipRun, rawExp1 TABLE stackInputSkyfile JOIN stackRun USING (stack_id) JOIN warpRun USING (warp_id) JOIN warpSkyfile USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Stack Input Exposures 3 3 FILE stackInputSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE stackRun.stack_id = stackInputSkyfile.stack_id 7 WHERE stackInputSkyfile.warp_id = warpRun.warp_id 8 WHERE warpRun.fake_id = fakeRun.fake_id 9 WHERE warpSkyfile.warp_id = warpRun.warp_id 10 WHERE warpSkyfile.skycell_id = stackRun.skycell_id 11 WHERE fakeRun.cam_id = camRun.cam_id 12 WHERE camProcessedExp.cam_id = camRun.cam_id 13 WHERE camRun.chip_id = chipRun.chip_id 14 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 15 8 16 9 # if no query restrictions are supplied, we want to limit the query or it is extremely long running: 17 UNRESTRICTED AND stackRun.stack_id = 010 #UNRESTRICTED AND stackRun.stack_id = 0 18 11 19 12 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/stackProcessedSkyfile.d
r27892 r40974 1 TABLE stackRun , stackSumSkyfile1 TABLE stackRun JOIN stackSumSkyfile USING (stack_id) 2 2 TITLE Stack Processed Skyfiles 3 3 FILE stackProcessedSkyfile.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE stackRun.stack_id = stackSumSkyfile.stack_id7 6 WHERE stackRun.state = 'full' 8 7 WHERE stackSumSkyfile.fault = 0 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/stackProcessedSkyfile_Images.d
r32539 r40974 1 TABLE stackRun , stackSumSkyfile1 TABLE stackRun JOIN stackSumSkyfile USING (stack_id) 2 2 TITLE Stack Processed Skyfiles 3 3 FILE stackProcessedSkyfile_Images.php 4 4 MENU ipp.stack.dat 5 5 6 WHERE stackRun.stack_id = stackSumSkyfile.stack_id7 6 WHERE stackRun.state = 'full' 8 7 WHERE stackSumSkyfile.fault = 0 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/stackSummary_Images.d
r37983 r40974 1 TABLE stackAssociation , stackSummary1 TABLE stackAssociation JOIN stackSummary USING (sass_id) 2 2 TITLE Stack Summary w/ Images 3 3 FILE stackSummary_Images.php 4 4 MENU ipp.stack.dat 5 6 # TODO7 WHERE stackSummary.sass_id = stackAssociation.sass_id8 5 9 6 # define image names to be used below -
branches/ccl_branches/ipp-20190806/ippMonitor/def/staticskyFailedSkyfile.d
r40844 r40974 1 TABLE staticskyInput , staticskyRun, stackRun, staticskyResult1 TABLE staticskyInput JOIN staticskyRun USING (sky_id) JOIN stackRun USING (stack_id) JOIN staticskyResult USING (sky_id) 2 2 TITLE Static Sky Failed 3 3 FILE staticskyFailedSkyfile.php 4 4 MENU ipp.sky.dat 5 5 6 WHERE staticskyRun.sky_id = staticskyInput.sky_id7 WHERE staticskyInput.stack_id = stackRun.stack_id8 WHERE staticskyInput.sky_id = staticskyResult.sky_id9 6 WHERE staticskyResult.fault != 0 10 7 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/staticskyInputSkyfile.d
r38222 r40974 1 TABLE staticskyInput , staticskyRun, stackRun1 TABLE staticskyInput JOIN staticskyRun USING (sky_id) JOIN stackRun USING (stack_id) 2 2 TITLE Static Sky Input Exposures 3 3 FILE staticskyInputSkyfile.php 4 4 MENU ipp.sky.dat 5 6 WHERE staticskyRun.sky_id = staticskyInput.sky_id7 WHERE staticskyInput.stack_id = stackRun.stack_id8 5 9 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/staticskyProcessedSkyfile.d
r38222 r40974 1 TABLE staticskyInput , staticskyRun, stackRun, staticskyResult1 TABLE staticskyInput JOIN staticskyRun USING (sky_id) JOIN stackRun USING (stack_id) JOIN staticskyResult USING (sky_id) 2 2 TITLE Static Sky Processed 3 3 FILE staticskyProcessedSkyfile.php 4 4 MENU ipp.sky.dat 5 6 WHERE staticskyRun.sky_id = staticskyInput.sky_id7 WHERE staticskyInput.stack_id = stackRun.stack_id8 WHERE staticskyInput.sky_id = staticskyResult.sky_id9 5 10 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/staticsky_failure.d
r38222 r40974 1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING(sky_id) JOIN stackRun USING(stack_id)1 TABLE staticskyRun JOIN staticskyResult USING (sky_id) JOIN staticskyInput USING (sky_id) JOIN stackRun USING (stack_id) 2 2 TITLE Static Sky Failed (Log) 3 3 FILE failedStaticsky.php -
branches/ccl_branches/ipp-20190806/ippMonitor/def/subsetPlotDiffImage.d
r37984 r40974 1 TABLE diffRun , diffInputSkyfile, diffSkyfile, skycell1 TABLE diffRun JOIN diffInputSkyfile USING (diff_id) JOIN diffSkyfile USING (skycell_id) JOIN skycell USING (skycell_id) 2 2 TITLE New sky plot - diff 3 3 FILE subsetPlotDiffImage.php … … 5 5 6 6 WHERE diffRun.state != 'new' 7 WHERE diffRun.diff_id = diffInputSkyfile.diff_id8 WHERE diffInputSkyfile.diff_id = diffSkyfile.diff_id9 WHERE diffInputSkyfile.skycell_id = diffSkyfile.skycell_id10 WHERE diffSkyfile.skycell_id = skycell.skycell_id11 7 WHERE diffRun.tess_id = skycell.tess_id 12 8 WHERE MOD(diffInputSkyfile.diff_skyfile_id, 50) = 0 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/summitImfile.d
r34013 r40974 3 3 FILE summitImfile.php 4 4 MENU ipp.load.dat 5 6 UNRESTRICTED WHERE 0>17 5 8 6 # field size format name show link to extras -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpFailedSkyfiles.d
r37983 r40974 1 TABLE warpSkyfile , warpRun, fakeRun, camRun, chipRun, rawExp1 TABLE warpSkyfile JOIN warpRun USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Warp Failed Skyfiles 3 3 FILE warpFailedSkyfiles.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpSkyfile.warp_id = warpRun.warp_id7 WHERE warpRun.fake_id = fakeRun.fake_id8 WHERE fakeRun.cam_id = camRun.cam_id9 WHERE camRun.chip_id = chipRun.chip_id10 WHERE chipRun.exp_id = rawExp.exp_id11 6 WHERE warpSkyfile.fault != 0 7 8 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 9 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 12 10 13 11 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpProcessedSkyfiles.d
r36788 r40974 1 TABLE rawExp JOIN chipRun USING (exp_id) JOIN camRun USING(chip_id) JOIN fakeRun USING(cam_id) JOIN warpRun USING(fake_id) JOIN warpSkyfile USING(warp_id)1 TABLE rawExp JOIN chipRun USING (exp_id) JOIN camRun USING (chip_id) JOIN fakeRun USING (cam_id) JOIN warpRun USING (fake_id) JOIN warpSkyfile USING (warp_id) 2 2 TITLE Warp Processed Skyfiles 3 3 FILE warpProcessedSkyfiles.php 4 4 MENU ipp.science.dat 5 5 6 RESTRICT_COUNT WHERE dateobs >= CURDATE()7 UNRESTRICTED WHERE dateobs >= CURDATE()6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 8 8 9 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpProcessedSkyfiles_Images.d
r36788 r40974 1 TABLE rawExp JOIN chipRun USING (exp_id) JOIN camRun USING(chip_id) JOIN fakeRun USING(cam_id) JOIN warpRun USING(fake_id) JOIN warpSkyfile USING(warp_id)1 TABLE rawExp JOIN chipRun USING (exp_id) JOIN camRun USING (chip_id) JOIN fakeRun USING (cam_id) JOIN warpRun USING (fake_id) JOIN warpSkyfile USING (warp_id) 2 2 TITLE Warp Processed Skyfiles 3 3 FILE warpProcessedSkyfiles_Images.php 4 4 MENU ipp.science.dat 5 5 6 RESTRICT_COUNT WHEREdateobs >= CURDATE()7 UNRESTRICTED WHEREdateobs >= CURDATE()6 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 7 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 8 8 9 9 # UNRESTRICTED WHERE 0=1 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpSkycellMap.d
r27892 r40974 1 TABLE warpSkyCellMap , warpRun, camProcessedExp, chipRun, rawExp1 TABLE warpSkyCellMap JOIN warpRun USING (warp_id) JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE warpSkyCellMap 3 3 FILE warpSkycellMap.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpSkyCellMap.warp_id = warpRun.warp_id 7 WHERE warpSkyCellMap.cam_id = camProcessedExp.cam_id 8 WHERE camProcessedExp.chip_id = chipRun.chip_id 9 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 7 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 10 8 11 9 OP OP1 $rawExp.ra * 57.295783 -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpStageExp.d
r28684 r40974 1 TABLE warpRun , fakeRun, camRun, chipRun, rawExp1 TABLE warpRun JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Warp Stage Exposures 3 3 FILE warpStageExp.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpRun.fake_id = fakeRun.fake_id 7 WHERE fakeRun.cam_id = camRun.cam_id 8 WHERE camRun.chip_id = chipRun.chip_id 9 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 10 8 11 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpStageSkyfileInputs.d
r27892 r40974 1 TABLE warpSkyCellMap , warpRun, fakeRun, camRun, chipRun, rawExp, chipProcessedImfile1 TABLE warpSkyCellMap JOIN warpRun USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN chipProcessedImfile USING (chip_id) 2 2 TITLE Warp Stage Skyfile Inputs 3 3 FILE warpStageSkyfileInputs.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpSkyCellMap.warp_id = warpRun.warp_id7 WHERE warpRun.fake_id = fakeRun.fake_id8 WHERE fakeRun.cam_id = camRun.cam_id9 WHERE camRun.chip_id = chipRun.chip_id10 WHERE chipRun.exp_id = rawExp.exp_id11 WHERE chipProcessedImfile.chip_id = chipRun.chip_id12 6 WHERE chipProcessedImfile.class_id = warpSkyCellMap.class_id 13 7 8 RESTRICT_COUNT AND rawExp.dateobs >= CURDATE() 9 UNRESTRICTED AND rawExp.dateobs >= CURDATE() 10 14 11 # if no query restrictions are supplied, we want to limit the query or it is extremely long running: 15 UNRESTRICTED AND warpRun.warp_id = 012 #UNRESTRICTED AND warpRun.warp_id = 0 16 13 17 14 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/def/warpStageSkyfiles.d
r27892 r40974 1 TABLE warpSkyCellMap , warpRun, fakeRun, camRun, chipRun, rawExp1 TABLE warpSkyCellMap JOIN warpRun USING (warp_id) JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) 2 2 TITLE Warp Stage Skyfiles 3 3 FILE warpStageSkyfiles.php 4 4 MENU ipp.science.dat 5 5 6 WHERE warpSkyCellMap.warp_id = warpRun.warp_id 7 WHERE warpRun.fake_id = fakeRun.fake_id 8 WHERE fakeRun.cam_id = camRun.cam_id 9 WHERE camRun.chip_id = chipRun.chip_id 10 WHERE chipRun.exp_id = rawExp.exp_id 6 RESTRICT_COUNT WHERE rawExp.dateobs >= CURDATE() 7 UNRESTRICTED WHERE rawExp.dateobs >= CURDATE() 11 8 12 9 ARGS ARG1 rawImfile.exp_id=$rawExp.exp_id -
branches/ccl_branches/ipp-20190806/ippMonitor/raw/czartool_labels.php
r40853 r40974 399 399 $qry2->fetchInto($summit); 400 400 401 401 402 $sql = "SELECT COUNT(*) FROM summitExp JOIN rawExp ON summitExp.exp_name = rawExp.exp_name WHERE summitExp.dateobs > '$date' AND rawExp.dateobs > '$date' AND summitExp.exp_type = '$expType[0]'"; 402 403 $qry2 = $projectdb->query($sql); … … 407 408 $qry2->fetchInto($dropped); 408 409 410 411 #Query with 30 minutes delay to check during the night if any exposures are missing. 412 $datehour = gmdate("Y-m-d H:i:s"); 413 $sql = "SELECT COUNT(*) FROM summitExp left join pzDownloadExp using (summit_id) WHERE dateobs > '$date' AND dateobs <= date_sub('$datehour', interval 30 minute) AND exp_type = '$expType[0]' and (state != 'drop' or state is null) and fault != 1042"; 414 $qry2 = $projectdb->query($sql); 415 $qry2->fetchInto($summitdelay); 416 417 $sql = "SELECT COUNT(*) FROM summitExp JOIN rawExp ON summitExp.exp_name = rawExp.exp_name WHERE summitExp.dateobs > '$date' AND summitExp.dateobs <= date_sub('$datehour', interval 30 minute) AND rawExp.dateobs > '$date' AND summitExp.exp_type = '$expType[0]'"; 418 $qry2 = $projectdb->query($sql); 419 $qry2->fetchInto($mhpccdelay); 420 409 421 echo "<tr>"; 410 422 411 if ($summit[0] == $mhpcc[0]) $error = 0; 423 $DLdiff = $summit[0] - $mhpcc[0]; 424 if ($DLdiff == 0) $error = 0; 412 425 else $error = 1; 426 427 $delayDLdiff = $summitdelay[0] - $mhpccdelay[0]; 428 if ($delayDLdiff == 0) $errordelay = 0; 429 else $errordelay = 1; 413 430 414 431 echo "<td>$expType[0]</td>"; 415 432 echo "<td>$summit[0]</td>"; 416 createFormattedTableCell("", "", $mhpcc[0], $error, 0); 433 #createFormattedTableCell("", "", $mhpcc[0], $error, 0); 434 if ($delayDLdiff==0) { 435 createFormattedTableCell("", "", $mhpcc[0], $error, 0); 436 } else { 437 $DLStatus = "<font style=\"BACKGROUND-COLOR: yellow\" color=\"red\">$mhpcc[0] ($delayDLdiff)</font>"; 438 echo "<td>$DLStatus</td>"; 439 } 440 417 441 echo "<td>$dropped[0]</td>"; 418 442 … … 440 464 } 441 465 $qry->fetchInto($refExpID); 466 if ($refExpID[0] = 'NULL') { 467 $refExpID[0] = 0; 468 } 442 469 443 470 #Find the number of chunks … … 482 509 createTableColumnHeader("Chunk"); 483 510 createTableColumnHeader("Nobs_1stvisit"); 484 createTableColumnHeader("Nobs_4visits ");511 createTableColumnHeader("Nobs_4visits(bad cam)"); 485 512 createTableColumnHeader("Ndiffs_published"); 486 513 createTableColumnHeader("Completion"); … … 492 519 $Nfirstvisits = 0; 493 520 $Nfourvisits = 0; 521 $badcam = 0; 494 522 495 523 $chunkname = $row[0]; … … 533 561 } 534 562 563 #also query for bad quality camRun exposures 564 $query4 = "SELECT count(*) "; 565 $query4 .= " FROM rawExp"; 566 $query4 .= " JOIN chipRun USING (exp_id)"; 567 $query4 .= " JOIN camRun USING (chip_id)"; 568 $query4 .= " JOIN camProcessedExp USING (cam_id)"; 569 $query4 .= " WHERE dateobs LIKE '$date%'"; 570 $query4 .= " AND exp_id > $refExpID[0]"; 571 $query4 .= " AND exp_type = 'OBJECT'"; 572 $query4 .= " AND substr(comment, 1, position(' ' in comment)) LIKE '$chunkname%'"; 573 $query4 .= " AND (camProcessedExp.quality > 0)"; 574 $qry4 = $projectdb->query($query4); 575 $qry4->fetchInto($badcam); 576 577 578 535 579 echo "<tr>"; 536 580 537 581 echo "<td>$chunkname</td>"; 538 582 echo "<td>$Nfirstvisits</td>"; 539 echo "<td>$Nfourvisits</td>"; 583 if ($badcam[0]==0) { 584 echo "<td>$Nfourvisits</td>"; 585 } else { 586 $DLStatus = "<font style=\"BACKGROUND-COLOR: yellow\" color=\"red\">$Nfourvisits ($badcam[0])</font>"; 587 echo "<td>$DLStatus</td>"; 588 } 540 589 echo "<td>$Ndiffs</td>"; 541 590 echo "<td>$complete</td>"; … … 944 993 foreach ($servers as &$server) { 945 994 946 getServerStatus($db, $server, $alive, $running);995 getServerStatus($db,$proj, $server, $alive, $running); 947 996 948 997 echo "<tr>\n"; … … 1036 1085 # 1037 1086 ########################################################################### 1038 function getServerStatus($db, $server, &$alive, &$running) {1039 1040 $sql = "SELECT alive, running FROM s ervers WHERE server LIKE '$server' ORDER BY timestamp DESC LIMIT 1";1087 function getServerStatus($db,$proj, $server, &$alive, &$running) { 1088 1089 $sql = "SELECT alive, running FROM science_servers WHERE server LIKE '$server' AND telescope LIKE '$proj' ORDER BY timestamp DESC LIMIT 1"; 1041 1090 if($debug){echo "$sql<br>";} 1042 1091
Note:
See TracChangeset
for help on using the changeset viewer.
