Exercise: decoding and recording weather
Separate reported data, forecasts and missing information using a hypothetical example
Prepare the data
Download weather-brief.md Use a text editor on Windows/Linux; no service sign-up needed. Uses the hypothetical report METAR VTBD 070900Z 28008KT 9999 FEW020 SCT040 32/23 Q1001 There is no live data in this exercise
Steps
- Separate the station, date-time, wind, visibility, cloud, temperature, dew point and QNH
- Convert UTC to Thai time, then note that the code does not state the month/year
- Write down what this report cannot yet answer, such as conditions at a work site away from the station, or the trend over the whole mission
- Choose the additional sources to check and state whether you need a report, a forecast or local area data
- Write a proposal for when to reassess; do not conclude “flyable” from a single report
Answer key and pass criteria
Thai time 16:00 on the 7th; wind from 280 degrees true at 8 knots; visibility at least 10 km; FEW 1–2/8 base 2,000 ft and SCT 3–4/8 base 4,000 ft above the aerodrome; 32/23°C; QNH 1,001 hPa
Pass when units and reference levels are read correctly, at least two data gaps are identified, and forecasts are not reported as if they were actual observations. Reading an API is an extension but is not required for this exercise
Licence for the exercise files
Download the LICENSE.txt licence, Python code is under MIT; forms are under CC BY 4.0, credit PK-Research
References and scope
Sources checked 7 September B.E. 2569 (2026); compiled to accompany knowledge kindly contributed by DTI