fixcatzero - Fix zero duration records in pass catalog

SYNOPSIS

fixcatzero  [ parameter=value ... ]

Parameters are: tape_label.

DESCRIPTION

fixcatzero fixes incorrect zero length durations in the pass catalog (that is where the number of lines is greater then zero), by tape label or entirely.

PARAMETERS

tape_label

This is the name of the external tape label. The name cannot exceed 12 characters in length and is case sensitive. That is, if the tape label was originally entered in upper case letters it must be entered in upper case letters here also. If tape_label is left blank, all records in the pass catalog are processed.

The default is [].

EXAMPLES

List the archived passes on the compact digital tape labelled miss1. Then use fixcatzero to correct their durations. Run fixcatzero again on the whole catalog.

[1] % listcat
tape_label     : char( 11) ? [] miss1
printout       : char(  3) ? [no]

Pass Catalog  Mon Jan 27 15:45:36 1992  Page 1

label         #  satel    telem   date   day    time    durat  lines orbit

miss1         1  noaa-10  hrpt  90/07/05 186  01:26:30  00:00   3992     0
miss1         2  noaa-11  hrpt  90/07/15 196  22:41:10  00:00   4657     0
miss1         3  noaa-10  hrpt  90/07/16 197  00:39:10  00:00    626     0
miss1         4  noaa-11  hrpt  90/07/30 211  21:36:10  00:00   5412     0
Run again ? [no]

[2] % fixcatzero
tape_label     : char( 11) ? [] miss1
label         #  satel    telem   date   day    time    durat  lines orbit
miss1         1  noaa-10  hrpt  90/07/05 186  01:26:30  11:05   3992     0
miss1         2  noaa-11  hrpt  90/07/15 196  22:41:10  12:56   4657     0
miss1         3  noaa-10  hrpt  90/07/16 197  00:39:10  01:44    626     0
miss1         4  noaa-11  hrpt  90/07/30 211  21:36:10  15:02   5412     0

[3] % fixcatzero
tape_label     : char( 11) ? []
label         #  satel    telem   date   day    time    durat  lines orbit
ASL005        1  noaa-11  hrpt  90/09/25 268  21:16:00  13:09   4739     0
ASL029        1  noaa-11  hrpt  90/12/04 338  10:24:50  13:20   4800     0
ASL029        2  noaa-9   hrpt  90/12/04 338  13:24:40  12:50   4620     0
ASL001        1  noaa-10  hrpt  90/09/14 257  15:06:50  06:13   2242     0

FILES

passcat

SEE ALSO

listcat

NOTES

The bugs in archive that caused this problem are believed to have been fixed.


Last Update: $Date: 1999/05/10 20:13:51 $