User's Guide

AUDITSCH_DAEMON

Daemon to audit the master schedule file.

Function:

AUDITSCH_DAEMON periodically calls AUDITSCH in a continuous loop to audit the master schedule file.

Parameters:

CEOSIDS("SFL")
CEOS id's. CEOS id's to consider when examining the logs to determine when scenes have been remotely acquired. This will usually be set to "SFL" only (live acquisitions). However, if DOMSAT scenes are being acquired via satellite dish as opposed to FTP, then "NOA" and "NGC" should be specified as well.

TIME_DELETE(80)
Delete time. Time (in hours from scene acquisition time) to wait before deleting a scene from the master schedule.

TIME_MISSED(26)
Missed time. Time (in hours from scene acquisition time) to wait before marking a scene as missed in the master schedule.

TIME_ACQUIRE(60)
Acquire time. Time (in minutes from scene acquisition time) to wait before checking if a local acquisition has occurred.

TIME_SLEEP(300)
Sleep time. The amount of time (in seconds) to sleep between executions of AUDITSCH.

Examples:

  1. LAS> auditsch_daemon

    AUDITSCH_DAEMON will call AUDITSCH to determine if there are any schedule file directives to generate (modify, delete, etc.) based on the master schedule. AUDITSCH_DAEMON will run until it is stopped by the user. Log messages will be written to auditsch;log in the ADAPSLOG directory.

Description/Algorithm:

AUDITSCH_DAEMON periodically calls AUDITSCH to see if any schedule directive files are to be created (modify, delete, etc.). AUDITSCH_DAEMON will run until it is stopped by the user.

Nonfatal Error Message:

    None.

Fatal Error Messages:

  1. [auditsch-fatal] Fatal error encountered

    A fatal error was encountered, refer to the specific message preceding this one for more details.

  2. [auditsch-abrt] User aborted function

    The function was aborted by the user.

  3. [auditsch-proc] Error processing the schedule auditing

    An error was encountered while processing the master schedule. Refer to the preceding error for more details.

  4. [auditsch-stp] Error checking for stop file

    An error was encountered while searching for stop files. Verify that the ADAPSTABLES directory is accessible, and determine if "auditsch;stop" exists within ADAPSTABLES.

  5. [auditsch-stpf] Error determining stop file

    The stop file name could not be determined. Ensure that ADAPSTABLES has been defined.

  6. [auditsch-slp] Error sleeping for designated time

    An error was encountered while sleeping. Contact the system administrator if this error persists.

  7. [[auditsch-sysm] Must be on edcsgs20 to execute AUDITSCH

    This procedure must only be executed on edcsgs20. Log onto edcsgs20 to execute this procedure.

User Notes:

  1. AUDITSCH_DAEMON will run until it is terminated by the user (refer to ADAPSTOP for instructions on how to stop this daemon).

  2. AUDITSCH_DAEMON is part of the AUDITSCH module.
  3. Toggling between DOMSAT acquisition systems:

    Using the local DOMSAT dish:

       - Must have the two INHALE processes running on VAXH.
       - Run AUDITSCH with CEOSIDS=SFL,NGC,NOA.
         This will enable the software on edcsgs20 to look in the ingest logs
         to determine when live and DOMSAT scenes have been acquired on VAXH
         (and generate schedule directive files to update the master schedule
         to signify the scenes have been acquired).
       - Run NOAAFTP with TIME_ACQ=180 minutes or more.  Extending this time
         will prevent NOAAFTP from downloading scenes before they get
         transmitted to the DOMSAT dish (NOAAFTP should only be downloading
         MISSED acquisitions when utilizing the DOMSAT dish).
       - When scheduling run XSCHED with the domsat flag as follows: 
    	 xsched printer1 printer2 domsat
         This allows the schedule to be pushed to vaxh.
    

    Using the ftp link to the NOAA server:

       - Must NOT have the two INHALE processes running on VAXH.
       - Run AUDITSCH with CEOSIDS=SFL.  When NOAAFTP downloads a scene from
         the server, it will generate a schedule directive file (to update
         the master schedule to signify the scene has been acquired).
         AUDITSCH only needs to look in the log files for SFL scenes to
         determine when they have been acquired.
       - Run NOAAFTP with TIME_ACQ=60 minutes (start looking for NGC scenes,
         NOA scenes, missed SFL scenes on the NOAA server 1 hour after their
         acquistion time).
       - When scheduling run XSCHED without the domsat flag as follows: 
    	 xsched printer1 printer2
         This prevents the schedule from being pushed to vaxh.