McIDAS-XCD Administrator's Guide
Version 2014.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Unix command for deleting real-time GRIB1, GRIB2, or BUFR files, and their associated database entries.


xcdscour GRIB numdays
xcdscour BUFR numdays



deletes GRIB1 and GRIB2 files


deletes BUFR files


number of days of real-time data to store online; the range is 1 to 9 (no default)


The xcdscour command is used to maintain the real-time GRIB1, GRIB2, and BUFR files by deleting all but the numdays most recent files. If xcdscour is not run, GRIB1, GRIB2, and BUFR data files will not be removed and will continue to accumulate and use disk space.

If the GRIB decoder is configured to use a MySQL database the corresponding entries will be removed and the database will be optimized before the data files are removed.

SSEC recommends scheduling xcdscour to run at a time when the load on the -XCD workstation is low because the MySQL database cleaning and optimizing step can cause data access delays while it is running.


5 1 * * * /home/oper/mcidas/bin/xcdscour GRIB 3 /data/grib

This entry creates a cron job that, at 1:05 a.m. local machine time, removes any GRIB1 and GRIB2 files in the /data/grib directory from more than three days ago. Data from the current day as well as three full previous days is retained.

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]