get-aviation-metadata.php V1.01 - 03-Oct-2025 - saratoga-weather.org run on Tue, 17-Nov-2026 21:55:03 PST Wed, 18-Nov-2026 05:55:03 GMT ..curl fetching 'https://aviationweather.gov/data/cache/stations.cache.xml.gz' HTTP stats: RC=200 dest=150.171.110.194 port=443 (from sce=66.179.137.90) Times: dns=0.001 conn=0.022 pxfer=0.072 get=0.115 total=0.187 secs --GZ file has missing header .. prepending it. ..GZ file was decompressed successfully. ..saved './metar-location-raw.txt' raw data file Processing XML for METAR station entries .. 9960 stations in response. Rejected 'HERT|UNK, , Egypt|-99.9900|-99.9900|32805|METAR|EG:' invalid data. Rejected 'HTIB|UNK, :|-99.9900|-99.9900|32805|METAR|:' invalid data. Rejected 'HTJN|UNK, , Tanzania|-99.9900|-99.9900|32805|METAR|TZ:' invalid data. Rejected 'KHME|MIL, , USA|-99.9900|-99.9900|32805|METAR|US:' invalid data. Rejected 'KQVT|MIL, :|-99.9900|-99.9900|32805|METAR|:' invalid data. Rejected 'KQWK|MIL, :|-99.9900|-99.9900|32805|METAR|:' invalid data. Rejected 'MMGA|UNK, , Mexico|-99.9900|-99.9900|32805|METAR,TAF|MX:' invalid data. Rejected 'OERS|UNK, TB, Saudi Arabia|-99.9900|-99.9900|32805|METAR,TAF|SA:TB' invalid data. .. 7745 METAR stations found. 8 METAR records rejected due to invalid data. ..file ./metar-metadata-inc.php saved. finished processing .. found 7745 METAR records in ./metar-metadata-inc.php $metarMetadata array. .. 1905 entries with state names missing saved to aviation-metadata-missing.txt.