Index: /trunk/ippMonitor/Makefile.in
===================================================================
--- /trunk/ippMonitor/Makefile.in	(revision 38220)
+++ /trunk/ippMonitor/Makefile.in	(revision 38221)
@@ -46,4 +46,6 @@
 $(DESTWWW)/ipp.stack.dat \
 $(DESTWWW)/ipp.stack.php \
+$(DESTWWW)/ipp.sky.dat \
+$(DESTWWW)/ipp.sky.php \
 $(DESTWWW)/ipp.dvodb.dat \
 $(DESTWWW)/ipp.dvodb.php \
@@ -183,4 +185,8 @@
 $(DESTWWW)/staticskyProcessedSkyfile.php \
 $(DESTWWW)/staticskyFailedSkyfile.php \
+$(DESTWWW)/skycalRun.php \
+$(DESTWWW)/skycalSummary.php \
+$(DESTWWW)/skycalProcessedSkyfile.php \
+$(DESTWWW)/skycalFailedSkyfile.php \
 $(DESTWWW)/magicRun.php \
 $(DESTWWW)/magicSummary.php \
@@ -247,5 +253,6 @@
 $(DESTWWW)/lapStacks.php \
 $(DESTWWW)/failedStaticsky.php \
-$(DESTWWW)/staticsky_failure.php
+$(DESTWWW)/staticsky_failure.php \
+$(DESTWWW)/skycal_failure.php
 
 PICTURES = \
Index: /trunk/ippMonitor/def/skycalFailedSkyfile.d
===================================================================
--- /trunk/ippMonitor/def/skycalFailedSkyfile.d	(revision 38221)
+++ /trunk/ippMonitor/def/skycalFailedSkyfile.d	(revision 38221)
@@ -0,0 +1,26 @@
+TABLE staticskyInput, staticskyRun, stackRun, staticskyResult
+TITLE Static Sky Processed 
+FILE  staticskyFailedSkyfile.php
+MENU  ipp.stack.dat
+
+WHERE staticskyRun.sky_id = staticskyInput.sky_id
+WHERE staticskyInput.stack_id = stackRun.stack_id
+WHERE staticskyInput.sky_id = staticskyResult.sky_id
+WHERE staticskyResult.fault != 0
+
+#        field                          size  format  name           show     link to         extras
+FIELD staticskyRun.sky_id,          5, %s,     Sky ID
+FIELD staticskyRun.label,    	    7, %s,     Label
+FIELD staticskyRun.state,    	    7, %s,     State
+FIELD stackRun.stack_id,            5, %s,     Stack ID
+FIELD stackRun.skycell_id,          5, %s,     Skycell ID
+FIELD stackRun.tess_id,             5, %s,     Tess ID
+FIELD stackRun.filter,              5, %s,     Filter 
+FIELD stackRun.label,               5, %s,     Stack Label
+FIELD staticskyRun.data_group, 	    7, %s,     data grp
+FIELD staticskyRun.dist_group, 	    7, %s,     dist grp
+FIELD staticskyResult.dtime_phot,   7, %.2f,   t(phot)
+FIELD staticskyResult.dtime_script, 7, %.2f,   t(script)
+FIELD staticskyResult.sources,      7, %d,     n(sources)
+FIELD staticskyResult.fault,        7, %d,     fault
+FIELD staticskyResult.quality,      7, %d,     quality
Index: /trunk/ippMonitor/def/skycalProcessedSkyfile.d
===================================================================
--- /trunk/ippMonitor/def/skycalProcessedSkyfile.d	(revision 38221)
+++ /trunk/ippMonitor/def/skycalProcessedSkyfile.d	(revision 38221)
@@ -0,0 +1,21 @@
+TABLE skycalRun, skycalResult, stackRun
+TITLE Skycal Processed Skyfiles
+FILE  skycalProcessedSkyfile.php
+MENU  ipp.stack.dat
+
+WHERE skycalRun.stack_id = stackRun.stack_id
+WHERE skycalRun.skycal_id = skycalResult.skycal_id
+WHERE skycalResult.fault != 0
+
+RESTRICT_COUNT AND dateobs >= CURDATE()
+UNRESTRICTED AND dateobs >= CURDATE()
+
+#        field          size  format  name           show     link to         extras
+FIELD    skycal_id,	  5,   %s,     Sky ID
+FIELD    stack_id,	  5,   %s,     Stack ID
+FIELD    skycell_id,	  5,   %s,     Skycell ID
+FIELD    filter,	  5,   %s,     Filter
+FIELD    skycalRun.label, 5,   %s,     Label
+FIELD    data_group, 	  5,   %s,     Data grp
+FIELD    dist_group,	  5,   %s,     Dist grp
+FIELD    state,		  5,   %s,     State
Index: /trunk/ippMonitor/def/skycalRun.d
===================================================================
--- /trunk/ippMonitor/def/skycalRun.d	(revision 38221)
+++ /trunk/ippMonitor/def/skycalRun.d	(revision 38221)
@@ -0,0 +1,16 @@
+TABLE skycalRun, stackRun
+TITLE skycalRun
+FILE  skycalRun.php
+MENU  ipp.stack.dat
+
+WHERE skycalRun.stack_id = stackRun.stack_id
+
+#        field          size  format  name           show     link to         extras
+FIELD    skycal_id,	  5,   %s,     Sky ID
+FIELD    stack_id,	  5,   %s,     Stack ID
+FIELD    skycell_id,	  5,   %s,     Skycell ID
+FIELD    filter,	  5,   %s,     Filter
+FIELD    skycalRun.label, 5,   %s,     Label
+FIELD    data_group, 	  5,   %s,     Data grp
+FIELD    dist_group,	  5,   %s,     Dist grp
+FIELD    state,		  5,   %s,     State
Index: /trunk/ippMonitor/def/skycalSummary.d
===================================================================
--- /trunk/ippMonitor/def/skycalSummary.d	(revision 38221)
+++ /trunk/ippMonitor/def/skycalSummary.d	(revision 38221)
@@ -0,0 +1,16 @@
+TABLE skycalRun
+TITLE Skycal Summary
+FILE  skycalSummary.php
+MENU  ipp.stack.dat
+
+#     field           size  format  name         show    link to         extras
+FIELD label,    	 15, %s,    label
+FIELD data_group,        10, %s,    data_group
+FIELD workdir,    	 7, %s,     workdir
+FIELD state,    	 7, %s,     state
+FIELD count(state) as n, 7, %d,     count
+
+MODE  summary
+GROUP state
+GROUP label
+GROUP workdir
Index: /trunk/ippMonitor/def/skycal_failure.d
===================================================================
--- /trunk/ippMonitor/def/skycal_failure.d	(revision 38221)
+++ /trunk/ippMonitor/def/skycal_failure.d	(revision 38221)
@@ -0,0 +1,22 @@
+TABLE skycalRun, skycalResult, stackRun
+TITLE skycal Failure
+FILE  skycal_failure.php
+MENU  ipp.stack.dat
+
+WHERE skycalRun.stack_id = stackRun.stack_id
+WHERE skycalRun.skycal_id = skycalResult.skycal_id
+WHERE skycalResult.fault != 0
+
+ARGS  ARG1 skycalResult.path_base=$skycalResult.path_base
+
+#        field          size  format  name           show     link to         extras
+FIELD    skycal_id,	  5,   %s,     Sky ID
+FIELD    stack_id,	  5,   %s,     Stack ID
+FIELD    skycell_id,	  5,   %s,     Skycell ID
+FIELD    filter,	  5,   %s,     Filter
+FIELD    skycalRun.label, 5,   %s,     Label
+FIELD    data_group, 	  5,   %s,     Data grp
+FIELD    dist_group,	  5,   %s,     Dist grp
+FIELD    state,		  5,   %s,     State,       value,   skycal_failure.php, ARG1
+
+TAIL PHP insert_log ('LOG.EXP');
Index: /trunk/ippMonitor/raw/ipp.menu.dat
===================================================================
--- /trunk/ippMonitor/raw/ipp.menu.dat	(revision 38220)
+++ /trunk/ippMonitor/raw/ipp.menu.dat	(revision 38221)
@@ -22,4 +22,5 @@
 menutop   | menutop      | link    | Science Steps                | ipp.science.php
 menutop   | menutop      | link    | Stack Steps                  | ipp.stack.php
+menutop   | menutop      | link    | Static Sky Steps             | ipp.sky.php
 menutop   | menutop      | link    | Distribution                 | ipp.dist.php
 menutop   | menutop      | link    | Large Area Processing        | ipp.lap.php
Index: /trunk/ippMonitor/raw/ipp.sky.dat
===================================================================
--- /trunk/ippMonitor/raw/ipp.sky.dat	(revision 38221)
+++ /trunk/ippMonitor/raw/ipp.sky.dat	(revision 38221)
@@ -0,0 +1,24 @@
+input     | ipp.menu.dat 
+
+menutop   | menutop      | plain   | &nbsp;                       | 
+menulink  | menuselect   | link    | Static Sky Summary           | staticskySummary.php
+menulink  | menuselect   | link    | Static Sky Run               | staticskyRun.php
+menulink  | menuselect   | link    | Static Sky Input Skyfile     | staticskyInputSkyfile.php
+menulink  | menuselect   | link    | Static Sky Processed Skyfile | staticskyProcessedSkyfile.php
+menulink  | menuselect   | link    | Static Sky Failed Skyfile    | staticskyFailedSkyfile.php
+menulink  | menuselect   | link    | Static Sky Failed            | failedStaticsky.php
+
+menutop   | menutop      | plain   | &nbsp;                       | 
+menulink  | menuselect   | link    | Skycal Summary               | skycalSummary.php
+menulink  | menuselect   | link    | Skycal Run                   | skycalRun.php
+menulink  | menuselect   | link    | Skycal Processed Skyfile     | skycalProcessedSkyfile.php
+menulink  | menuselect   | link    | Skycal Failed Skyfile        | skycalFailedSkyfile.php
+menulink  | menuselect   | link    | Skycal Failed                | skycal_failure.php
+
+menutop   | menutop      | plain   | &nbsp;                       | 
+menulink  | menuselect   | link    | Static Sky Summary           | staticskySummary.php
+menulink  | menuselect   | link    | Static Sky Run               | staticskyRun.php
+menulink  | menuselect   | link    | Static Sky Input Skyfile     | staticskyInputSkyfile.php
+menulink  | menuselect   | link    | Static Sky Processed Skyfile | staticskyProcessedSkyfile.php
+menulink  | menuselect   | link    | Static Sky Failed Skyfile    | staticskyFailedSkyfile.php
+menulink  | menuselect   | link    | Static Sky Failed            | failedStaticsky.php
Index: /trunk/ippMonitor/raw/ipp.sky.php
===================================================================
--- /trunk/ippMonitor/raw/ipp.sky.php	(revision 38221)
+++ /trunk/ippMonitor/raw/ipp.sky.php	(revision 38221)
@@ -0,0 +1,17 @@
+<?php 
+
+include 'ipp.php';
+
+$ID = checkID ();
+
+// require an explicit project
+if (! $ID['proj']) { projectform ($ID); }
+
+menu('ipp.sky.dat', 'Static Sky Steps', 'ipp.css', $ID['link'], $ID['proj']);
+
+// document body
+echo "static sky steps<br>\n";
+
+menu_end();
+
+?>
Index: /trunk/ippMonitor/raw/ipp.stack.dat
===================================================================
--- /trunk/ippMonitor/raw/ipp.stack.dat	(revision 38220)
+++ /trunk/ippMonitor/raw/ipp.stack.dat	(revision 38221)
@@ -29,10 +29,2 @@
 menulink  | menuselect   | link    | Magic Failed Nodes           | magicFailedNodes.php
 menulink  | menuselect   | link    | Magic Failed Masks           | magicFailedMasks.php
-
-menutop   | menutop      | plain   | &nbsp;                       | 
-menulink  | menuselect   | link    | Static Sky Summary           | staticskySummary.php
-menulink  | menuselect   | link    | Static Sky Run               | staticskyRun.php
-menulink  | menuselect   | link    | Static Sky Input Skyfile     | staticskyInputSkyfile.php
-menulink  | menuselect   | link    | Static Sky Processed Skyfile | staticskyProcessedSkyfile.php
-menulink  | menuselect   | link    | Static Sky Failed Skyfile    | staticskyFailedSkyfile.php
-menulink  | menuselect   | link    | Static Sky Failed            | failedStaticsky.php
