The program called CDCD-Extract (CDEX.EXE on the program disk) will convert data from the CDCD format to any one of Environment Canada Climate Archive, comma delimited, or ASCII. After initial selection of a station, a menu appears from which there are six options that can be changed or selected: 1. Conversion type requested: This allows the user to select the type of conversion desired from a menu. 2. Element to Convert: The user can choose one or several of the possible elements available. Elements are toggled on or off by the use of the space bar. returns to the calling menu. 3. Years to Convert: The years that will be converted can be selected here. 4. Combine all elements in one file: The user can choose to have all the elements in one file (sorted first by year, then by month, and then by element), or to have each element in a separate file. 5. Drive/directory of output files: Files will be written to the directory found specified here. The current drive/directory is the default. 6. Station selection: The station can be changed by pressing from the main menu. To quit the program press Ctrl-Q (i.e., while pressing the key, press the key). ----------------------------------------------------------------- There are three types of files produced: 1. Archive-format: This is the 232-character (ASCII) format found in the Environment Canada climate archive. The filename for this format is "Axxxxxxx.yyy", where "xxxxxxx" is the Station ID and "yyy" is the element ID. If all elements are written to one file, the extension will be "ALL". 2. Comma delimited: This is a format that can be used for importing data into spreadsheets and databases. Order of data is as follows: - 7-character station ID (alphanumeric) - Year (numeric) - Month (numeric) - Element ID (alphanumeric) - 31 individual numeric values (one for each day, with blank alphanumerics substituted for non-existent days (e.g., February 30) - A 31-character field containing all of the flags for the month (alphanumeric) The filename for this format is "Cxxxxxxx.yyy", where "xxxxxxx" is the Station ID and "yyy" is the element ID. If all elements are written to one file, the extension will be "ALL". 3. ASCII: This is a format that allows the data to be used in a text editor or software that can parse a text string. In these files, months are output in 3-letter abbreviations, elements are given a plain-word description and flags are either transformed into a word (e.g., "T" changed to "Trace") or appended to the value (e.g., value 2.5 with an "E" flag would appear as 2.5E). Each day's description or value & flag takes 7 characters. The filename for this format is "Txxxxxxx.yyy", where "xxxxxxx" is the Station ID and "yyy" is the element ID. If all elements are written to one file, the extension will be "ALL".