Passer la navigation

Exemple de flux météo

Voici un exemple de flux météo. Les champs en gras sont résolus par les paramètres fictifs météo répertoriées dans Utiliser des paramètres fictifs pour les alertes météo.
{ "@context": [ "https://raw.githubusercontent.com/geojson/geojson-ld/master/contexts/geojson-base.jsonld", { "wx": "https://api.weather.gov/ontology#", "@vocab": "https://api.weather.gov/ontology#" } ], "type": "FeatureCollection", "features": [ { "id": "https://api.weather.gov/alerts/NWS-IDP-PROD-2358285-6219777", "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [ -156.29, 20.68 ], [ -156.45, 20.70 ], [ -156.47, 20.79 ], [ -156.47, 20.88 ], [ -156.27, 20.92 ], [ -156.29, 20.68 ] ] ] }, "properties": { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-2358285-6219777", "@type": "wx:Alert", "id": "NWS-IDP-PROD-2358285-6219777", "areaDesc": "Maui", "geocode": { "UGC": [ "HIZ018", "HIZ017" ], "SAME": [ "015009", "015009" ] }, "references": [ "https://api.weather.gov/alerts/NWS-IDP-PROD-2358285-6219776" ], "sent": "2017-07-26T17:39:56+00:00",
"effective"
: "2017-07-26T17:39:56+00:00", "onset": "2017-07-11T17:39:00+00:00",
"expires"
: "2017-07-28T19:15:00+00:00", "ends": "2017-07-28T19:15:00+00:00", "status": "Actual", "messageType": "Update", "category": "Met", "severity": "Moderate", "certainty": "Likely", "urgency": "Expected",
"event"
: "Flood Advisory"
"sender"
: "NWS Honolulu HI",
"headline"
:"Flood advisory issued July 27 at 2:34AM HST expiring July 28 at 5:30PM HST by NWS Honolulu HI"
"description"
"instruction"
: "Stay away from streams, drainage ditches and low lying areas prone to flooding. Rainfall and runoff will also cause hazardous driving conditions due to ponding, reduced visibility and poor braking action.", "response": "Avoid", "parameters": { "VTEC": [ "/O.EXT.KREV.FA.Y.0010.000000T0000Z-170516T1915Z/" ], "PIL": [ "REVFLSREV" ], "BLOCKCHANNEL": [ "CMAS", "EAS", "NWEM" ], "eventEndingTime": [ "2017-07-16T19:15:00Z" ] } } } ], "title": "Current watches, warnings, and advisories" }