IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2004, 9:21:27 AM (22 years ago)
Author:
eugene
Message:

added Scheduler description; need to fix up P1-P4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/design/specs.tex

    r413 r414  
    1 %%% $Id: specs.tex,v 1.2 2004-04-10 01:14:49 eugene Exp $
     1%%% $Id: specs.tex,v 1.3 2004-04-12 19:21:27 eugene Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    572572
    573573\paragraph{Scheduler}
     574
     575The IPP is responsible for a variety of analysis tasks: several stages
     576of processing of the science images; routine assessment of the detrend
     577images used in processing the science images; construction of
     578replacement detrend images when needed; generation of astrometric and
     579photometric reference catalogs based on the collected dataset; and the
     580performance of test analysis programs.  At any point, decisions need
     581to be made about which of these tasks should be performed, based on an
     582analysis of the contents of the image database tables, the
     583requirements of the people monitoring the IPP, and the near-term
     584observing plans.  The IPP Scheduler is a mechanism to manage these
     585various inputs to guide the decisions and initiate the actions.
     586
     587The Scheduler acts as an intermediate between several components of
     588the IPP and also between the IPP and external agents such as the OATS
     589system and the users who must monitor the behavior of the IPP. 
     590
     591The Scheduler must send commands to the Controller for execution.  It
     592is the Controller's responsibility to manage the specific analysis
     593jobs executing on a given processing node.  These analysis may include
     594the process of copying of moving data from OATS to the pixel server
     595nodes, or it may involve image processing stages performed on the
     596science images by the apporpriate processing nodes, or it may involve
     597analysis of the data in the PnA object database.  In order to isolate
     598and encapsulate the responsibilities of the Scheduler and the
     599Controller, the Scheduler must initiate the tasks which the controller
     600manages; in this way, the controller does not need to have any
     601information about the details of the tasks which it executes.
     602Communication between the Scheduler and the Controller must be
     603bi-directional; the Scheduler must send tasks to the Controller which
     604the Controller must inform the Scheduler of the outcome of those
     605tasks.  \tbd{it is not specified whether the scheduler and controller
     606are components of a single software system or interacting but distinct
     607software components.}
     608
     609The Scheduler must take as input the current list of pending images,
     610both science and calibration, and a description of the current
     611observing plan or strategy on some time-scale.  The Scheduler must
     612also take input from humans who manage the IPP. 
     613
     614The Scheduler must choose between several types of analysis stages
     615based on the contents of those lists and on the requirements of the
     616users.  The list of tasks which the Scheduler must decide between
     617includes:
     618\begin{itemize}
     619\item moving data to and from the pixel server ($\sim 30$ second timescales)
     620\item running the science analysis stages ($\sim 30$ second timescales)
     621\item testing the validity of the current detrend images ($\sim$
     622  nightly)
     623\item constructing new detrend images ($\sim$ weekly)
     624\item updating and improving the photometric and astrometric reference
     625  catalogs ($\sim$ yearly).
     626\end{itemize}
     627
     628The Scheduler must choose between tasks which are relevant on several
     629different time-scales.  The time-scale range from 2 times per minute
     630to once or twice a year, as noted in the list above.  The Scheduler
     631must make use of the human input to manage such choices. 
     632
     633The Scheduler must maintain a set of rules defining the dependency of
     634one type of analysis stage on other analysis products.  For example,
     635the nightly science image processing depends on the existence of valid
     636detrend images.  The Scheduler must be able to recognize the
     637dependency and initiate the required analysis needed to perform other
     638analysis tasks.  The Scheduler must have the ability to decide between
     639postponing an analysis task until the depending data are available or
     640to initial the task using a lower-quality or less appropriate
     641substitute.  For example, a science image should not be processed
     642until the corresponding detrend frame has been produced.  However, it
     643such a frame is unlikely to appear and the pressure to process the
     644science image it too high, then the frame could be processed with an
     645older detrend frame of known lower quality.  The Scheduler must have
     646the ability to choose the best, if not ideal, reference data for a
     647particular circumstance.
     648
     649The Scheduler is responsible for setting the operating mode of the
     650IPP.  When the IPP is in the automatic operating mode, this implies
     651that the Scheduler is performing the most appropriate tasks at a
     652particular time.  When the IPP is in the interactive mode, the
     653Scheduler must perform the requested action regardless of the outcome
     654of the decision trees.  In addition, the Scheduler must only perform
     655the requested actions and not attempt to perform the other
     656normally-required actions.  The only exception to this exclusion is
     657that, in the interactive mode, data must still be copyed from the
     658summit system.  A human-sent command must be able to change the
     659Scheduler priorities from the automatic to the interactive modes.  An
     660additional IPP mode is the {\em paused mode}, in which case the
     661Scheulder does not perform even the data copy tasks.  Every task is
     662performed on demand by the user.
    574663
    575664\subsubsection{Analysis Stages}
Note: See TracChangeset for help on using the changeset viewer.