https://github.com/elara6331/taf
Parser for Terminal Aerodrome Forecasts
https://github.com/elara6331/taf
airports taf weather weather-forecast
Last synced: 2 months ago
JSON representation
Parser for Terminal Aerodrome Forecasts
- Host: GitHub
- URL: https://github.com/elara6331/taf
- Owner: Elara6331
- License: gpl-3.0
- Created: 2023-08-21T23:58:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T23:18:40.000Z (about 2 years ago)
- Last Synced: 2025-02-08T21:16:18.661Z (11 months ago)
- Topics: airports, taf, weather, weather-forecast
- Language: Go
- Homepage:
- Size: 1.27 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# taf
[](https://goreportcard.com/report/go.elara.ws/taf)
[](https://pkg.go.dev/go.elara.ws/taf)
This is a library and command-line tool that parses and decodes [TAF forecasts](https://en.wikipedia.org/wiki/Terminal_aerodrome_forecast).
TAF stands for Terminal Aerodrome Forecast. It's the weather forecast format used in aviation. TAF reports are useful as a free source of accurate weather.
Here's an example of a TAF report from JFK airport:
```
KJFK 212335Z 2200/2306 33012G18KT P6SM FEW060 BKN250
FM220300 36014KT P6SM FEW060 SCT150
FM221400 01015G21KT P6SM SCT060
FM221900 04011KT P6SM SCT060
FM230000 03007KT P6SM FEW060
FM230300 35006KT P6SM FEW060
```
Try parsing it by installing the tafparser tool using
```bash
go install go.elara.ws/taf/cmd/tafparser@latest
```
and then running
```bash
tafparser <` flag to tell it to do that, like so:
```bash
tafparser -i EGLL
```
That should automatically fetch the report for London Heathrow and parse it.