Daily High Temperature

Overview

Provides daily high temperatures from the start of 2015 up to 7 days in the future.

Location

Provides a daily time series of high temperatures within a user-defined timespan at a specific location. The location is represented by a latitude/longitude pair.

GET /daily-high-temperature/{latitude}/{longitude}

Query String Parameters (Optional)

The default response contains results on a Celsius temperature scale for up to the next 6 days.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date start of 2015 to 7 days in the future 2015-06-01
end string end date (inclusive) start of 2015 to 7 days in the future 2015-06-03

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-high-temperature/35.482/-97.535" \
  -d start="2015-06-01" \
  -d end="2015-06-03" \
  -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,
  "startDate": "2015-06-01",
  "endDate": "2015-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 34.2,
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 35.1,
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 36.2,
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    }
  ]
}

Asset

Provides a daily time series for temperature within a user-defined timespan at the centroid of an asset, along with the area-weighted arithmetic mean and range of temperature over that asset. Time series values are for the centroid of the asset.

GET /daily-high-temperature/{asset-uuid}

Query String Parameters (Optional)

The default response contains results on a Celsius temperature scale for up to the next 6 days.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date start of 2015 to 7 days in the future 2015-06-01
end string end date start of 2015 to 7 days in the future 2015-06-03

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749" \
  -d start="2015-06-01" \
  -d end="2015-06-03" \
  -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": "2015-06-01",
  "endTime": "2015-06-03",
  "contours": "/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-01&end=2015-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "timeSeriesStatistics": {
    "mean": 34.3,
    "minimum": 31.0,
    "maximum": 37.0
  },
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 34.4,
      "contours": "/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-01&end=2015-06-01",
      "assetStatistics": {
        "mean": 34.3,
        "maximum": 35.0,
        "minimum": 32.0
      },
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 33.2,
      "contours": "/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-02&end=2015-06-02",
      "assetStatistics": {
        "mean": 34.5,
        "maximum": 34.9,
        "minimum": 31.0
      },
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 33.5,
      "contours": "/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-03&end=2015-06-03",
      "assetStatistics": {
        "mean": 34.3,
        "maximum": 37.0,
        "minimum": 32.0
      },
      "products": [
        "skywise-superconus-24hr-high-temperature-analysis"
      ]
    }
  ]
}

Contours By Asset

Provides a contoured representation (GeoJSON) of high temperatures over a date range, clipped to an asset boundary.

GET /daily-high-temperature/{asset-uuid}/contours

Query String Parameters (Optional)

The default response contains results for up to the next 6 days on a Celsius temperature scale.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date start of 2015 to 7 days in the future 2015-06-01
end string end date (inclusive) start of 2015 to 7 days in the future 2015-06-03

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-high-temperature/fe68c33d-e718-4449-acae-351072ce7749/contours" \
  -d start="2015-06-01" \
  -d end="2015-06-03" \
  -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",
  "startDate": "2015-06-01",
  "endDate": "2015-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [ [-102.3555, 39.8420], [-99.8945, 39.8420], ... ]
        ]
      },
      "properties": {
        "highTemperature": 37.0
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [ [-102.3555, 39.8420], [-99.8945, 39.8420], ... ]
        ]
      },
      "properties": {
        "highTemperature": 34.0
      }
    }
  ]
}