User's Guide

NOAAFTP_DAEMON

Daemon to transfer pending scenes from NOAA server.

Function:

NOAAFTP_DAEMON calls NOAAFTP in a continuous loop to periodically transfer pending scenes from the NOAA server.

Parameters:

TIME_ACQUIRE(60)
Acquire time. Time (in minutes from current acquisition time) to wait before attempting an ftp acquisition. This will usually be set to 60 minutes when getting DOMSAT scenes via ftp, and set to at least 180 minutes when getting DOMSAT scenes via the satellite dish (extend the time when using the dish to keep NOAAFTP from getting them before the dish does). When the DOMSAT dish is being used, NOAAFTP should only be downloading MISSED scenes.

TIME_SLEEP(60)
Sleep time. The amount of time (in minutes) to sleep between executions of NOAAFTP.

Examples:

  1. LAS> noaaftp_daemon

    NOAAFTP_DAEMON will call NOAAFTP to determine if there are any pending scenes within the schedule. If there are, they will be downloaded from the NOAA server and then renamed into the ADAPSACQ directory for processing. NOAAFTP_DAEMON will run until it is stopped by the user.

Description/Algorithm:

NOAAFTP_DAEMON sleeps for TIME_SLEEP minutes between calls to NOAAFTP. See the NOAAFTP module for more information.

Nonfatal Error Message:

    None.

Fatal Error Messages:

  1. [noaaftp-chk] Error checking for pending scenes

    An error occurred in the call to NOAAFTP. Contact the system administrator if this error persists.

  2. [noaaftp-slp] Error sleeping for designated time

    The module could not sleep for the specified amount of time. Ensure that a reasonable amount of time was specified.

  3. [noaaftp-sysm] Must be on edcsgs20 to execute NOAAFTP

    This module must be executed on edcsgs20 for the acquisition process to complete properly. Restart this module from edcsgs20.

  4. [noaaftp-fatal] Fatal error encountered

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

  5. [noaaftp-abrt] User aborted function

    This function has been aborted by the user. Consult with the user before restarting this function.

User Notes:

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

  2. NOAAFTP_DAEMON is part of the NOAAFTP 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:
       	xsched printer1 printer2
         This prevents the schedule from being pushed to vaxh.