Ressources naturelles Canada
Symbol of the Government of Canada

Definition of the CNDC Integer Waveform Format


In the CNDC Integer format, the data is written as ASCII text integers, one value per line, with one waveform (channel) per file.
Each file contains a simple header at the start of the file containing:
  1. the ASCII channel name in the format station.component (i.e. WALA.BHZ)
  2. the start time of the earliest data in the file, in the format YYYYMMDD.HHMMSS
  3. the sample rate (samples/seconds)
  4. the number of samples
The name of each output file is of the form:

YYYYMMDD.HHMMSS.fileFormat.station.component

(i.e. 19970722.123000.I.WALA.BHZ)

where the date-time YYYYMMDD.HHMMSS is taken from the "earliest data time" field in the CA file "pre-header" and the fileFormat "I" denotes ASCII (text) integers. Note that the start time of the data and the start time in the file header might be different (later) than the "earliest time" listed in the file name. This is because the file name prefix, YYYYMMDD.HHMMSS.fileFormat, must be the same for all output waveform files created from a single CA file. This allows convenient grouping of extracted data.