Hourly Wind Direction

Overview

Provides hourly wind direction in degrees clockwise from north from tJune 01, 2016 up to 7 days in the future.

Location

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

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

Query String Parameters (Optional)

The default response contains results for the next 24 hours in degrees clockwise from north.

Name Type Description Accepted Values / Range Example
start string start time June 01, 2016 to 7 days in the future 2016-06-01T00:00:00Z
end string end time (inclusive) June 01, 2016 to 7 days in the future 2016-06-01T03:00:00Z

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/hourly-wind-direction/35.482/-97.535" \
  -d start="2016-06-01T00:00:00Z" \
  -d end="2016-06-01T03:00:00Z" \
  -H "Accept: application/vnd.wdt+json; version=1" \
  --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": "degrees clockwise from north",
    "label": "°"
  },
  "series": [
    {
      "validTime": "2016-06-01T00:00:00Z",
      "value": 0.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T01:00:00Z",
      "value": 15.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T02:00:00Z",
      "value": 30.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T03:00:00Z",
      "value": 45.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    }
  ]
}

Asset

Provides an hourly time series for wind direction within a user-defined timespan at the centroid of an asset. Time series values are for the centroid of the asset.

GET /hourly-wind-direction/{asset-uuid}

Query String Parameters (Optional)

The default response contains results for the next 24 hours in degrees clockwise from north.

Name Type Description Accepted Values / Range Example
start string start time June 01, 2016 to 7 days in the future 2016-06-01T00:00:00Z
end string end time (inclusive) June 01, 2016 to 7 days in the future 2016-06-01T03:00:00Z

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/hourly-wind-direction/fe68c33d-e718-4449-acae-351072ce7749" \
  -d start="2016-06-01T00:00:00Z" \
  -d end="2016-06-01T03:00:00Z" \
  -H "Accept: application/vnd.wdt+json; version=1" \
  --user <username>:<password>

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK
{
  "asset": "/assets/fe68c33d-e718-4449-acae-351072ce7749",
  "startTime": "2016-06-01T00:00:00Z",
  "endTime": "2016-06-01T03:00:00Z",
  "unit": {
    "description": "degrees clockwise from north",
    "label": "°"
  },
  "series": [
    {
      "validTime": "2016-06-01T00:00:00Z",
      "value": 0.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T01:00:00Z",
      "value": 15.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T02:00:00Z",
      "value": 30.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    },
    {
      "validTime": "2016-06-01T03:00:00Z",
      "value": 45.0,
      "products": [
        "skywise-superconus-1hr-wind-direction-analysis"
      ]
    }
  ]
}