Daily Solar Radiation

Overview

Provides daily solar radiation from the start of 2015 up to 5 days in the future. Supports contouring.

By Location

Provides the total amount of solar radiation along with a daily time series within a user-defined timespan at a specific location. The location is represented by a latitude/longitude pair.

GET /daily-solar-radiation/{latitude}/{longitude}

Query String Parameters (Optional)

The default response contains results in Megajoules per square meter for up to the next 4 days.

Name Type Description Accepted Values / Range Example
start string start date start of 2015 to 5 days in the future 2015-06-01
end string end date start of 2015 to 5 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-solar-radiation/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",
  "solarRadiation": 164.1,
  "unit": {
    "description": "megajoules per square meter",
    "label": "MJ/m²"
  },
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 50.0,
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 50.0,
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 64.1,
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    }
  ]
}

By Asset

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

GET /daily-solar-radiation/{asset-uuid}

Query String Parameters (Optional)

The default response contains results in Megajoules per square meter for up to the next 4 days.

Name Type Description Accepted Values / Range Example
start string start date start of 2015 to 5 days in the future 2015-06-01
end string end date start of 2015 to 5 days in the future 2015-06-03

Request Example

See Headers for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/solar-radiation/daily/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",
  "startDate": "2015-06-01",
  "endDate": "2015-06-03",
  "solarRadiation": 164.1,
  "accumulationStatistics": {
      "mean": 164.1,
      "maximum": 166.8,
      "minimum": 161.9,
  },
  "unit": {
    "description": "megajoules per square meter",
    "label": "MJ/m²"
  },
  "contours": "/daily-solar-radiation/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-01&end=2015-06-03",
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 50.0,
      "contours": "/daily-solar-radiation/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-01&end=2015-06-01",
      "assetStatistics": {
        "mean": 51.0,
        "maximum": 52.0,
        "minimum": 50.0,
      },
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 50.0,
      "contours": "/daily-solar-radiation/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-02&end=2015-06-02",
      "assetStatistics": {
        "mean": 51.0,
        "maximum": 53.0,
        "minimum": 49.0,
      },
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 64.1,
      "contours": "/daily-solar-radiation/fe68c33d-e718-4449-acae-351072ce7749/contours?start=2015-06-03&end=2015-06-03",
      "assetStatistics": {
        "mean": 64.9,
        "maximum": 67.0,
        "minimum": 61.0,
      },
      "products": [
        "skywise-24hr-solar-radiation-analysis"
      ]
    }
  ]
}

Contours By Asset

Provides a contoured representation (GeoJSON) of the total amount of solar radiation within a user-defined timespan, clipped to an asset boundary.

GET /daily-solar-radiation/{asset-uuid}/contours

Query String Parameters (Optional)

The default response contains results in Megajoules per square meter for up to the next 4 days.

Name Type Description Accepted Values / Range Example
start string start date start of 2015 to 5 days in the future 2015-06-01
end string end date start of 2015 to 5 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-solar-radiation/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",
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [ [-102.3555, 39.8420], [-99.8945, 39.8420], ... ]
        ]
      },
      "properties": {
        "solarRadiation": 160.0
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [ [-102.3555, 39.8420], [-99.8945, 39.8420], ... ]
        ]
      },
      "properties": {
        "solarRadiation": 162.0
      }
    }
  ],
  "unit": {
    "description": "megajoules per square meter",
    "label": "MJ/m²"
  }
}