Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: NMCAMT Next: SIGCO Index

QRTMDG

Deletes real-time grid or MD files.


Formats

QRTMDG   GRID   bfile   efile   numdays
QRTMDG   MD   bfile   efile   numdays


Parameters

GRID

deletes grid files

MD

deletes MD files

bfile

beginning file in the range to delete; must end with the number 1

efile

ending file in the range to delete; must end with a zero (default=bfile + 9)

numdays

number of days of real-time data to store online; the range is 2 to 9 (default=4)


Remarks

SSEC recommends scheduling QRTMDG to run at 00:00:01 UTC daily to delete old grid and MD files.

During the first 10 days of each new year, QRTMDG deletes the appropriate files for sites keeping more than five days of data online to ensure that no collisions occur. For example, if a site keeps six days of data online from day 91003, the valid days are 91003, 91002, 91001, 90365, 90364 and 90363. However, a file collision occurs between days 91003 and 90363. To prevent this collision, QRTMDG deletes data from day 90363.


Example

SKE 93129 00:01:00 999999 24 "QRTMDG MD 1 40 4

This example stores the current day's MD data plus the previous three days for MD files in the range 1 to 40. When this command runs on day 93307, all MD files in the range 1 to 40 are deleted except: 4, 5, 6, 7, 14, 15, 16, 17, 24, 25, 26, 27, 34, 35, 36 and 37.


Table of contents Previous: NMCAMT Next: SIGCO Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690