GAMET (ICAO)
Required roles:
AIS PIB API— Roles
Base endpoint:https://ais-pib-api.ibosoft.net.tr:2087/opmet-decoder-gamet-icao
Reference documents: ICAO Doc 10157 PANS-MET, Ed. 1 (27/11/25) · ICAO Doc 8400 PANS-ABC, Ed. 9, Amend. 33 (8/11/18)
Attribution: showibonav.aeroor "Decoded by Ibosoft" wherever decoded output is displayed
Data sources: none — decodes the message supplied in the request.
Last updated: 17 OCT 2026About the reference documents: Related Documents and Resources
Decodes a GAMET area forecast into readable fields, one box per section, following the PANS-MET template. Optionally returns machine-readable values (parsed).
The format is that of PANS-MET Appendix 6 (Table A6-1). To get messages to decode, see GAMET.
Endpoints
POST /opmet-decoder-gamet-icao/decode?parsed=false
Content-Type: application/json
{ "raw": "<GAMET text>" }
Parameters
| Parameter | In | Default | Description |
|---|---|---|---|
raw |
body | — | Message text, at least 10 characters; line breaks are kept and used. |
parsed |
query | false |
true: add the parsed object |
How the template is processed
- Field names and wording come from PANS-MET Table A6-1 and its notes: output keys are the template element names (e.g.
SFC VIS→ "Surface visibility",SIG CLD→ "Cloud",PSYS→ "Pressure centres and fronts"); time ranges, areas, levels and units are written out. Abbreviations are expanded as defined in PANS-MET and PANS-ABC (Doc 8400). - Header elements (FIR/CTA, identification, validity, meteorological office, name of the FIR/CTA) are at the top level.
- Sections:
SECN IandSECN IIbecome one box each insections, with a header (label) and the elements of the section. Elements are present only when the section gives them; elements that can repeat are lists. - Strict template: a value that does not follow the template is not guessed; it is listed under
Undecodable elements(neighbouring groups form one entry).
For the full list of elements, see PANS-MET Table A6-1.
Response
Example — PANS-MET Example A6-1 (shortened):
YUCC GAMET VALID 220600/221200 YUDO –
YUCC AMSWELL FIR/2 BLW FL120
SECN I
SFC WIND: 10/12 310/16MPS
SFC VIS: 06/08 N OF N51 3000M BR
…
SECN II
PSYS: 06 N5130 E01000 L 1004HPA MOV NE 25KT WKN
…
{
"Location indicator of FIR/CTA": "YUCC",
"Identification": "GAMET",
"Validity period": "Valid from Day 22, 06:00 UTC to Day 22, 12:00 UTC",
"Location indicator of MWO": "YUDO",
"Name of the FIR/CTA": "YUCC AMSWELL FIR/2, below FL 120",
"sections": [
{
"label": "Section I (Information on en-route weather phenomena hazardous to low-level flights.)",
"label_start": 67, "label_end": 73,
"Surface wind": "10:00 UTC to 12:00 UTC: 16 m/s from 310°T",
"Surface visibility": "06:00 UTC to 08:00 UTC, North of N51°: 3000 m, Mist",
"…": "…"
},
{
"label": "Section II (Additional information required by low-level flights.)",
"label_start": 291, "label_end": 298,
"Pressure centres and fronts": "06:00 UTC: Low pressure 1004 hPa at N51°30' E10°00', Moving towards North-east at 25 kt, Weakening",
"…": "…"
}
],
"marker_positions": [{"start": 67, "end": 73}, {"start": 291, "end": 298}],
"positions": [{"start": 0, "end": 4}, "…"],
"corrected_raw": "YUCC GAMET VALID 220600/221200 YUDO –\nYUCC AMSWELL FIR/2 BLW FL120\n…",
"raw": "…",
"parsed": {
"utc_day": 22, "utc_time": "0600",
"location_indicator_fir_cta": "YUCC",
"location_indicator_met_office": "YUDO",
"name_of_fir_cta": "YUCC AMSWELL FIR/2 BLW FL120"
}
}
| Key | Description |
|---|---|
| header keys | FIR/CTA, identification, validity, meteorological office, name of the FIR/CTA |
sections |
One box per section: label, label_start/label_end (header span) and the section's elements |
marker_positions |
Header spans of the sections |
Undecodable elements |
Groups that do not follow the template (only when there are any) |
corrected_raw |
The message after normalization; positions refer to this text |
positions |
Character spans {start, end} in corrected_raw, one per decoded value in output order |
parsed |
With parsed=true: start of validity (utc_day, utc_time), ICAO location indicators of the FIR/CTA and of the meteorological office, name of the FIR/CTA line |
Errors
| Code | Meaning |
|---|---|
400 |
The message could not be parsed at all; detail explains why |
422 |
raw is missing or shorter than 10 characters |