# Weather

Weather fetches live METAR and TAF reports for ICAO airports.

## <mark style="color:$warning;">Data source</mark>

Weather uses the public Aviation Weather Center feed. It does not require a user API key.

Coverage is broad, but not every airport reports at the same interval. Some stations may return no current data.

## <mark style="color:$warning;">Airport roles</mark>

When pulled from an OFP, airports are labelled by role:

| Role                                      | Meaning                                            |
| ----------------------------------------- | -------------------------------------------------- |
| <mark style="color:$success;">DEP</mark>  | Departure airport.                                 |
| <mark style="color:$warning;">DEST</mark> | Destination airport.                               |
| <mark style="color:$primary;">ALTN</mark> | Alternate airport.                                 |
| <mark style="color:$info;">ENROUTE</mark> | Enroute, ETP, or reclearance airport where parsed. |
| MANUAL                                    | Airport added by the user.                         |

## <mark style="color:$warning;">METAR age</mark>

Weather cards show METAR age and color:

* Green: less than 90 minutes old.
* Amber: 90 to 120 minutes old.
* Red: more than 120 minutes old.

## <mark style="color:$warning;">TAF window</mark>

When a flight window is available from the loaded OFP, TAF groups outside that window may be dimmed. The full TAF text remains visible for review.

## <mark style="color:$warning;">Network behavior</mark>

Live weather requires an internet connection. If the station has no data, AvComp shows that state separately from a network error.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.avcomp.app/reference/weather.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
