Weather
Inclement weather can have an adverse effect on drone operations by decreasing visibility and/or impacting a drone's flight capability.
By specifying a coordinate you can query for the latest observed atmospheric conditions, and the one hour forecast for a specified area.
Request
GET https://api.altitudeangel.com/v2/preflight/weather?lat=*latitude*&lng=*longitude*
Querystring parameter | Description |
---|---|
lat | The latitude of the coordinate specified |
lng | The longitude of the coordinate specified |
Example
GET https://api.altitudeangel.com/v2/preflight/weather?lat=51.507&lng=-0.128
Authorization: X-AA-ApiKey YOUR_API_KEY
Sample Weather
{
"current": {
"summary": "Partly cloudy",
"temperatureC": 10.0,
"at": "2021-11-02T13:45:29.0351348Z",
"cloudCoverPercent": 25,
"uvIndex": 0,
"windDirection": "SouthWest",
"windHeadingDegrees": 230,
"windSpeedKph": 9.0,
"precipitationPercent": 0,
"humidityPercent": 66,
"meanSeaLevelPressureHPa": 999,
"dewPointC": 0.0,
"snowMillimeters": 0,
"rainfallMillimeters": 0
},
"upcoming": {
"summary": "Sunny",
"temperatureC": 12.0,
"at": "2021-11-02T14:45:29.0351348Z",
"cloudCoverPercent": 12,
"uvIndex": 0,
"windDirection": "WestSouthWest",
"windHeadingDegrees": 257,
"windSpeedKph": 7.0,
"precipitationPercent": 0,
"humidityPercent": 56,
"meanSeaLevelPressureHPa": 999,
"dewPointC": 3.0,
"snowMillimeters": 0,
"rainfallMillimeters": 0
},
"effective": {
"start": "2021-11-02T13:45:29.0351348Z",
"end": "2021-11-02T14:45:29.0351348Z",
"approx": false,
"type": "timeRange"
},
"geography": {
"center": {
"lat": 51.519248167315908,
"lng": 0.088130922371844542
},
"radius": 10000.0,
"numPoints": 100,
"type": "circle"
}
}
Updated about 3 years ago