Hourly Wind Speed

Overview

Provides hourly wind speed in meters per second for locations up to 10 days in the future.

Location

Provides an hourly time series of wind speed within a user-defined timespan at a specific location. The location is represented by a latitude/longitude pair.

GET /hourly-wind-speed/{latitude}/{longitude}

Query String Parameters (Optional)

The default response contains results in meters per second for the next 24 hours.

Name Type Description Accepted Values / Range Example
unit string unit of distance mps mph, kph kph
start string start time 1 year ago to 10 days in the future 2016-06-01T00:00:00Z
end string end time (inclusive) 1 year ago to 10 days in the future 2016-06-01T03:00:00Z

Request Example

See CORS for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/hourly-wind-speed/35.482/-97.535" \
  -d start="2016-06-01T00:00:00Z" \
  -d end="2016-06-01T03:00:00Z" \
  -d unit="kph" \
  --user <username>:<password>

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK
{
  "latitude": 35.482,
  "longitude": -97.535,
  "startTime": "2016-06-01T00:00:00Z",
  "endTime": "2016-06-01T03:00:00Z",
  "unit": {
    "description": "kilometers per hour",
    "label": "kph"
  },
  "series": [
    {
      "validTime": "2016-06-01T00:00:00Z",
      "value": 14.0,
      "products": [
        "skywise-superconus-1hr-wind-speed-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T01:00:00Z",
      "value": 15.0,
      "products": [
        "skywise-superconus-1hr-wind-speed-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T02:00:00Z",
      "value": 13.5,
      "products": [
        "skywise-superconus-1hr-wind-speed-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T03:00:00Z",
      "value": 12.5,
      "products": [
        "skywise-superconus-1hr-wind-speed-analysis"
      ]
    }
  ]
}