TDS: Station Information Output Formats

XML Output

  • The Station Information XML output has an XML schema

  • Station Information fields are returned in the same order, indicated by the Station Information Field Description.

  • Element names are in lower-case with words separated by an underscore (_). Whenever applicable, the units are included at the end of the element name. For example, an element name of temperature_c indicates that temperature is in degrees Celsius.

  • Each row of Station Information data is returned as a separate 'Station Information' tag, followed by the Station Information fields. Any fields that appear to be missing are either not reported in the Station Information or were not parsed.

  • Station Information fields are always returned in the order indicated by the Station Information Field Description Table. The exception to this is when cloud, icing and turbulence conditions are grouped together.

  • The output includes some statistics about the request, such as the number of results and the time taken to fulfill the request.

  • All data is ordered by descending observation time.

  • An error message is generated when an error in the input request prevents the retrieval of data.

  • If a constraint parameter is missing and a default value exists, an appropriate warning message is produced and the default request is fulfilled.

  • For a description of the Station Information field names, their units and types, please refer to: Station Information Field Description


An example of XML output is below:

Station info for all Canadian stations


CSV Output

  • What is CSV format?

  • CSV (Comma Separated Value) is a file format used as a "pseudo standard" to exchange data between applications. Results saved in this format can be read by Microsoft Excel and other applications.

  • Where I can I find out more?
    Please refer to the following links to learn more about the CSV file format:


  • Station Information CSV Format
      Field Parameter not used
    • The Station Information fields are always returned in the order indicated by the Station Info Field Description Table .

    • Each row of Station Information data is returned as a separate line and Station Information fields are separated by a comma ','.

    • A header precedes the Station Information data, with header names indicating the units of the fields wherever applicable.

    • Any fields that appear to be missing are either not reported in the Station Information or were not parsed.

    • The output includes some statistics about the request, such as the number of results and the time taken to fulfill the request.

    • An error message is generated when an error in the input request prevents the retrieval of data.

    • If a constraint parameter is missing and a default value exists, an appropriate warning message is produced and the default request is fulfilled.

    • For a description of the Station info field names, their units and types, please refer to: Station Info Field Description

An example of CSV output is below:

CSV Output containing the station info on all stations in Canada