User's Guide

Delete archive images from the silo that are more than a specified number of days old.

Function:

Examines the AVHRR archive directory structure on the silo for a specific month, day, and satellite number, and deletes the AVHRR archive images found in the directory that are more than a specified number of days old. Only scenes of the specified acquisition type and specified year are considered.

Parameters:

SATNUM
Satellite number. The satellite number for which images will be deleted.

MONTH
Acquisition month. The month for which images will be deleted. This value is used to determine which directories on the silo to examine.

DAY
Acquisition day. The day for which images will be deleted. This value is used to determine which directories on the silo to examine.

YEAR(-- VALID=(0:99)
Acquisition year. The year for which images will be deleted. The year should be entered as the last two digits of the year; i.e., 94 instead of 1994. If defaulted, all years will be processed.

ACQTYPE
Acquisition type. The type of AVHRR data to be deleted.

  = HRPT:  High Resolution
           Picture Transmission
  = LAC:   Local Area Coverage
  = GAC:   Global Area Coverage
  = ORB:   Stitched half orbits
  = ALL:   All of the above

NDAYS
Number of days old. The image must be more than NDAYS old before it will be deleted.

LOGFILE(--)
Log file. Name of the log file to which the processing messages will be appended. The default is CLEANONE;LOG in ADAPSLOG.

Example:

  1. LAS> cleanone satnum=11 month=5 day=14 year=94 acqtype=orb ndays=90

    The 1994 orbital stitched images in the directory "/dmf/edc/avhrr/sat11/month05/day14/" are deleted if they are more than 90 days old. A log file called "CLEANONE.LOG" within the ADAPSLOG directory will contain the log messages.

Description/Algorithm:

Examine the AVHRR archive directory structure on the silo for a specific month, day, year, and satellite number, and delete all of the AVHRR archive images found in the directory that are more than a specified number of days old.

Nonfatal Error messages:

    None.

Fatal Error messages:

  1. [cleanone-fatal] Fatal error encountered

    A fatal error was encountered. The message displayed preceding this message is the error that was encountered. Processing terminates.

  2. [cleanone-del] Error deleting images from the silo

    An error was encountered while attempting to delete images from the silo. Check file and directory permissions.

User Notes:

  1. The AVHRR archive directory structure on the silo is based on the satellite number, month, and day of acquisition. The year of acquisition is considered for each image within a given directory (images from multiple years may reside in the same directory).

  2. A routine related to CLEANONE is CLEANSILO. CLEANSILO calls CLEANONE for a given range of days.