User's Guide

CHECK_NCEP

Check for current NCEP images on the silo

Function:

Check for current NCEP images on the silo and return a list of images that are not there that should be. This is part of NCEPIN procedure.

Parameters:

TRANSLIST
List of files to transfer. This is a name variable that must be declared as a string with count=0:8. Previous contents of this parameter will be destroyed.

TRANSDATE
List of dates of files to transfer. This is a name variable that must be declared as a string with count=0:8. Previous contents of this parameter will be destroyed.

TRANSCOUNT
Number of entries in lists. This is a name variable declared as an integer. Previous contents of this parameter will be destroyed.

SILOBASEDIR("/HSM/LTA1/AVHRR/NCEP_WATERVAPOR")
Base NCEP water vapor directory

HOURLIST
List of file availability times. List of four local time hours. These hours are the local time that the 00Z, 06Z, 12Z and 18Z forecasts, in that order, are available for download.

CKDATE(--)
A month day year specification of a single date to use for checking the silo.

  1. LAS> check_silo silobasedir="[avhrr.ncep_watervapor]" hourlist=("04" "09" "18" "20") translist=files transdate=dates transcount=count

    The current year subdirectory of [avhrr.ncep_watervapor] on silo is checked for the presence of yesterdays four NCEP forecast files and the forecasts for today that are available for download. Names and dates of forecast files not on silo are retured in the name variables files and dates. The number of files not on silo is returned in count.

Description/Algorithm:

If a date is specified that date is used otherwise CHECK_NCEP determines the curent date/time and yesterdays date/time. A wildcard name is built the date specified or for yesterdays date and used in a call to SILO-DIR. The returned list is checked. If any of the four files are not in the list the file name and date is added to the return lists and the count is incremented. If a date was specified the list is returned. If not a wildcard name is built for the current day and another SILO-DIR is made. The returned list is checked only against the files that are available for transfer. This is determined by useing the HOURLIST parameter. If the current hour is less than or equal to the local time availability hour, the current file and the rest of the files are skipped. For example: if the current hour is "09" and the 06Z forecast, HOURLIST(2), is "10" then the 00Z file is checked but the 06Z, 12Z and 18Z files are not.

Nonfatal Error Messages:

    None

Fatal Error Messages:

    None

User Notes: