IWXXM METAR
The METAR EDR collections treat METAR and SPECI as the same type of report. There are no separate queries for SPECI.
Latest METAR and SPECI collection
The EDR collection "metar" implements a "latest" query as defined in MET3SG MET SWIM OGC EDR Community Guidance and its Appendix A: Definition of Latest.
- Reports for individual aerodromes can be queried using a /locations query.
- The API returns reports in the form of individual XML files stored in a ZIP archive.
- Temporal filtering is available via the
datetimeparameter; in this case, the query represents the question: "Which reports were latest at the given datetime (interpreted relative to the issue time indicated in the report)?" - Stations can be filtered by spatial geometries (
/radius,/area,/cube,/corridorqueries). This is an IBL EDR feature, not covered by the MET3SG EDR Guidance document.
Example queries:
- Describe the collection:
https://swim.iblsoft.com:8444/edr/collections/metar - Latest METAR for LZIB aerodrome:
https://swim.iblsoft.com:8444/edr/collections/metar/locations/LZIB - Multiple locations can be specified using a comma-separated list:
https://swim.iblsoft.com:8444/edr/collections/metar/locations/LZIB,LZTT
- Note that EDR implementations from other vendors or organisations might not support providing a list of locations.
Collection "metar-all"
See the introductory section External Interfaces-OGC EDR for details on how the "-all" collections interpret the query and the datetime parameter.
Examples:
- All METARs for LZIB aerodrome in a specified time range:
https://swim.iblsoft.com:8444/edr/collections/metar-all/locations/LZIB?datetime={today:-1:00:00/24h} - All available METAR reports within a 200 km range around a (longitude, latitude) point.
https://swim.iblsoft.com:8444/edr/collections/metar-all/radius?coords=POINT(17.1785 48.1628)&within=200&within-units=km - METAR reports within a polygonal area (borders of Slovakia) in a given time interval:
https://swim.iblsoft.com:8444/edr/collections/metar-all/area?coords=POLYGON((17.98%2049.08,%2016.94%2048.70,%2016.95%2048.01,%2017.96%2047.63,%2018.99%2047.80,%2021.00%2048.56,%2022.25%2048.39,%2022.75%2049.14,%2021.31%2049.51,%2020.15%2049.36,%2020.10%2049.19,%2019.69%2049.22,%2019.48%2049.63,%2018.94%2049.56))&datetime={today:00:00/6h} METAR reports within a latitude/longitude bounding box in a given time interval:
https://swim.iblsoft.com:8444/edr/collections/metar-all/cube?bbox=16,40,18,44&datetime={today:00:00/6h}- METAR reports within a 100 km wide corridor in a given time interval:
https://swim.iblsoft.com:8444/edr/collections/metar-all/corridor?coords=LINESTRING(-6.25%2053.4,%200%2051.5,%202.3%2048.8,%2014.4%2050.1,%2017.2%2048.2,%2021.25%2048.7)&corridor-width=200&width-units=km&datetime={today:00:00/6h}
Note: bbox=min_lon,min_lat,max_lon,max_lat