Sign in

The file check: what SagSwell read, inferred or found wrong in a COMTRADE file

What the file check on every record reports — values read, values inferred, clipping, dead traces, impossible time stamps — and what to do about each.

Updated · SagSwell

Every record gets a file check: what was actually read from the .cfg and .dat, what had to be inferred, and anything that would make a figure wrong. Read it before trusting a number from an unfamiliar recorder.

What it reports

  • Read: station and device, COMTRADE revision, data format, channel counts, sampling rates, start and trigger times, frequency, scaling of each channel.
  • Inferred: anything the reader had to decide because the file did not say, such as a phase from a channel name or a date order.
  • Problems: clipping at full scale in binary data, dead traces, time stamps that cannot be right, and inconsistencies between the .cfg and the .dat.

A clean file gets a short confirmation that nothing was inferred and no channel showed clipping, a dead trace or an impossible time stamp.

What to do about a finding

FindingUsually means
Values far from nominal before the eventScaling or primary/secondary is wrong in the .cfg.
ClippingThe recorder’s input range was exceeded; peaks and RMS of that channel are low.
Dead traceUnused input; ignore the channel.
Impossible time stampClock not set, or a non-standard date format; durations within the record are still valid.

For the meaning of each .cfg line see the .cfg guide. To check a file without opening it in the reader, use the free COMTRADE file checker.

Questions people ask

Why does a COMTRADE file open with the wrong values?
Usually the scaling: a CT or VT ratio, a primary/secondary flag, or the a and b multipliers in the .cfg. The file check lists what was read and what had to be inferred, which is where to look first.
What is a dead trace?
A channel with nothing connected to it: only noise around zero. SagSwell recognises it and leaves it out of event detection and THD rather than reporting a permanent interruption.
Is a warning in the file check an error in the record?
Not always. It says the file departs from what the standard or the rest of the file leads one to expect. Some departures are harmless; others change every number.

Free tools

More guides