PIREP XML Output Data Format

  • The PIREP XML output has an XML schema

  • PIREP fields are returned in the same order, indicated by the PIREP 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 PIREP data is returned as a separate 'PIREP' tag, followed by the PIREP fields. Any fields that appear to be missing are either not reported in the PIREP or were not parsed.

  • PIREP fields are always returned in the order indicated by the PIREP 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 PIREP field names, their units and types, please refer to: PIREP Field Description

An example of XML output is below:

All PIREPS collected within the past 1 hour