MET Format Check
Required roles:
AIS PIB API— Roles
Base endpoint:https://ais-pib-api.ibosoft.net.tr:2087/opmet-check-met-format
Reference documents: ICAO Doc 10157 PANS-MET, Ed. 1 (27/11/25) · FAA AIM, Basic (20/02/25) with Change 1 (07/08/25) · FAA Aviation Weather Handbook FAA-H-8083-28 (2024)
Attribution: showibonav.aerowherever this result is displayed
Data sources: none — the format is determined from the location indicator prefix.
Last updated: 17 OCT 2026About the reference documents: Related Documents and Resources
Returns the meteorological report format (for METAR/SPECI and TAF) used at an aerodrome, by its ICAO location indicator. Use the value to choose the default decoding method.
METAR/SPECI and TAF are not written the same way everywhere. Some groups that look the same are coded differently:
- U.S. and Canada (FAA practice): visibility is in statute miles, the altimeter setting is in inches of mercury (
A2992), and there is a remarks section with its own codes. - Some States: some ICAO provisions that were removed on 4 November 2021, such as the state of the runway group, are still used.
The same report decoded with the wrong rules gives wrong values or undecodable groups.
Call this endpoint with the aerodrome's location indicator before decoding to pick the right decoder and options automatically — for example, when a user enters any aerodrome in an app or when a mixed list of reports from many countries is decoded. The result is a default chosen from the location indicator prefix; if you know a station reports differently, you can choose another decoder yourself.
Endpoints
GET /opmet-check-met-format/{icao}
Parameters
| Parameter | In | Description |
|---|---|---|
icao |
path | ICAO location indicator (4 letters). Case-insensitive. |
Response
{
"icao": "UUEE",
"format": "icao-pre"
}
| Field | Description |
|---|---|
icao |
ICAO location indicator, upper case |
format |
faa, icao-pre or icao |
format |
Meaning | Decoder to use |
|---|---|---|
faa |
U.S. format (FAA AIM / FAA Aviation Weather Handbook) | METAR / SPECI (FAA), TAF (FAA) |
icao-pre |
ICAO Annex 3 provisions in force until 3 November 2021 | METAR / SPECI (ICAO) with pre_2021=true; TAF has no pre-2021 mode and is decoded as ICAO |
icao |
ICAO PANS-MET | METAR / SPECI (ICAO), TAF (ICAO) |
Prefixes
format |
Location indicator prefixes |
|---|---|
faa |
K (continental United States), PA (Alaska), PH (Hawaii), CU (Cuba), CW, CY, CZ (Canada) |
icao-pre |
UU, UL, UR, UW, US, UH, UI, UN, UO |
icao |
all other prefixes |
Examples
| Request | format |
|---|---|
GET /opmet-check-met-format/KORD |
faa |
GET /opmet-check-met-format/PAFA |
faa |
GET /opmet-check-met-format/UUEE |
icao-pre |
GET /opmet-check-met-format/ULLI |
icao-pre |
GET /opmet-check-met-format/LTFM |
icao |
GET /opmet-check-met-format/EGLL |
icao |
Errors
| Code | Meaning |
|---|---|
400 |
The input is not exactly 4 letters |