Skip to main content
POST
/
Weather
Create a weather file
curl --request POST \
  --url https://api.plantpredict.terabase.energy/Weather \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": 1,
  "distance": 0,
  "locality": "Oxford",
  "stateProvince": "Nebraska",
  "stateProvinceCode": "NE",
  "country": "United States",
  "countryCode": "US",
  "region": "North America",
  "source": "LocalWeatherFile.xlsx",
  "stationName": "",
  "format": 3,
  "stationCode": null,
  "latitude": 40.1932678,
  "longitude": -99.7152252,
  "elevation": 665,
  "timeZone": -6,
  "timestampDefinition": 0,
  "timestampDefinitionOriginal": 0,
  "timeInterval": 60,
  "startDate": "2005-01-01T00:00:00",
  "endDate": "2005-01-01T23:00:00",
  "globalHorizontalIrradianceSum": 0.6,
  "diffuseHorizontalIrradianceSum": 0.6,
  "directNormalIrradianceSum": 0,
  "planeOfArrayIrradianceSum": null,
  "averageAirTemperature": 6.55,
  "maxAirTemperature": 8.25,
  "averageRelativeHumidity": 79.56,
  "averageWindSpeed": 3.25,
  "averagePrecipitableWater": null,
  "averageDewpoint": null,
  "averageSoilingLoss": null,
  "rainfallSum": 4.57,
  "weatherDataModelVersion": "8.1.2.15989",
  "dataProvider": 4,
  "pLevel": 0,
  "windSensorHeight": 10,
  "weatherDetails": [
    {
      "id": 0,
      "weatherId": 68915,
      "index": 1,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 6.07,
      "relativeHumidity": 87.76,
      "windspeed": 3,
      "windDirection": 173.1,
      "timeStamp": "2005-01-01T00:00:00",
      "adjustedTimeStamp": "2005-01-01T00:30:00",
      "precipitableWater": null,
      "rainfall": 2.23,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 2,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 6.27,
      "relativeHumidity": 79.89,
      "windspeed": 2.5,
      "windDirection": 206.5,
      "timeStamp": "2005-01-01T01:00:00",
      "adjustedTimeStamp": "2005-01-01T01:30:00",
      "precipitableWater": null,
      "rainfall": 0.1,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 3,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 6.01,
      "relativeHumidity": 82.03,
      "windspeed": 2,
      "windDirection": 204.1,
      "timeStamp": "2005-01-01T02:00:00",
      "adjustedTimeStamp": "2005-01-01T02:30:00",
      "precipitableWater": null,
      "rainfall": 0.15,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 4,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 5.93,
      "relativeHumidity": 79.61,
      "windspeed": 2.5,
      "windDirection": 264.5,
      "timeStamp": "2005-01-01T03:00:00",
      "adjustedTimeStamp": "2005-01-01T03:30:00",
      "precipitableWater": null,
      "rainfall": 0.03,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 5,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 5.81,
      "relativeHumidity": 77.89,
      "windspeed": 2.3,
      "windDirection": 218.4,
      "timeStamp": "2005-01-01T04:00:00",
      "adjustedTimeStamp": "2005-01-01T04:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 6,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 5.7,
      "relativeHumidity": 76.96,
      "windspeed": 2.6,
      "windDirection": 207.4,
      "timeStamp": "2005-01-01T05:00:00",
      "adjustedTimeStamp": "2005-01-01T05:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 7,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 5.62,
      "relativeHumidity": 80.45,
      "windspeed": 2.2,
      "windDirection": 231,
      "timeStamp": "2005-01-01T06:00:00",
      "adjustedTimeStamp": "2005-01-01T06:30:00",
      "precipitableWater": null,
      "rainfall": 0.01,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 8,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 930.32,
      "temperature": 5.54,
      "relativeHumidity": 80.71,
      "windspeed": 3,
      "windDirection": 191.6,
      "timeStamp": "2005-01-01T07:00:00",
      "adjustedTimeStamp": "2005-01-01T07:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 9,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 6.1,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 6.1,
      "pressure": 930.32,
      "temperature": 5.76,
      "relativeHumidity": 80.31,
      "windspeed": 2.6,
      "windDirection": 168.9,
      "timeStamp": "2005-01-01T08:00:00",
      "adjustedTimeStamp": "2005-01-01T08:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 30.0402528947981
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 10,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 50.08,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 50.08,
      "pressure": 930.32,
      "temperature": 6.57,
      "relativeHumidity": 83.12,
      "windspeed": 4.1,
      "windDirection": 252.7,
      "timeStamp": "2005-01-01T09:00:00",
      "adjustedTimeStamp": "2005-01-01T09:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 185.49330738635734
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 11,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 88.92,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 88.92,
      "pressure": 930.32,
      "temperature": 7.31,
      "relativeHumidity": 76.96,
      "windspeed": 3.7,
      "windDirection": 50.4,
      "timeStamp": "2005-01-01T10:00:00",
      "adjustedTimeStamp": "2005-01-01T10:30:00",
      "precipitableWater": null,
      "rainfall": 0.02,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 320.34875208133815
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 12,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 103.67,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 103.67,
      "pressure": 930.32,
      "temperature": 7.82,
      "relativeHumidity": 74.6,
      "windspeed": 3.5,
      "windDirection": 181.3,
      "timeStamp": "2005-01-01T11:00:00",
      "adjustedTimeStamp": "2005-01-01T11:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 412.4474580667211
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 13,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 99.12,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 99.12,
      "pressure": 930.32,
      "temperature": 8.08,
      "relativeHumidity": 71.52,
      "windspeed": 3.9,
      "windDirection": 189.9,
      "timeStamp": "2005-01-01T12:00:00",
      "adjustedTimeStamp": "2005-01-01T12:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 452.27318005064905
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 14,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 92.96,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 92.96,
      "pressure": 930.45,
      "temperature": 8.23,
      "relativeHumidity": 72.61,
      "windspeed": 4.4,
      "windDirection": 57.8,
      "timeStamp": "2005-01-01T13:00:00",
      "adjustedTimeStamp": "2005-01-01T13:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 436.06204606577194
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 15,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 79.1,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 79.1,
      "pressure": 930.58,
      "temperature": 8.25,
      "relativeHumidity": 67.18,
      "windspeed": 3.7,
      "windDirection": 55.1,
      "timeStamp": "2005-01-01T14:00:00",
      "adjustedTimeStamp": "2005-01-01T14:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 365.3295473095477
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 16,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 52.79,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 52.79,
      "pressure": 930.7,
      "temperature": 8.09,
      "relativeHumidity": 66.09,
      "windspeed": 5.1,
      "windDirection": 175.9,
      "timeStamp": "2005-01-01T15:00:00",
      "adjustedTimeStamp": "2005-01-01T15:30:00",
      "precipitableWater": null,
      "rainfall": 0.06,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 247.01201691729582
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 17,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 22.03,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 22.03,
      "pressure": 930.83,
      "temperature": 7.7,
      "relativeHumidity": 81.96,
      "windspeed": 3.9,
      "windDirection": 36,
      "timeStamp": "2005-01-01T16:00:00",
      "adjustedTimeStamp": "2005-01-01T16:30:00",
      "precipitableWater": null,
      "rainfall": 0.23,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 95.29513760680047
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 18,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0.59,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0.59,
      "pressure": 930.96,
      "temperature": 7.23,
      "relativeHumidity": 81.98,
      "windspeed": 4.4,
      "windDirection": 155.2,
      "timeStamp": "2005-01-01T17:00:00",
      "adjustedTimeStamp": "2005-01-01T17:30:00",
      "precipitableWater": null,
      "rainfall": 0.52,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 19,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.09,
      "temperature": 6.75,
      "relativeHumidity": 82,
      "windspeed": 3.7,
      "windDirection": 52.1,
      "timeStamp": "2005-01-01T18:00:00",
      "adjustedTimeStamp": "2005-01-01T18:30:00",
      "precipitableWater": null,
      "rainfall": 0.88,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 20,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.22,
      "temperature": 6.45,
      "relativeHumidity": 82.01,
      "windspeed": 3.7,
      "windDirection": 190.7,
      "timeStamp": "2005-01-01T19:00:00",
      "adjustedTimeStamp": "2005-01-01T19:30:00",
      "precipitableWater": null,
      "rainfall": 0.34,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 21,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.34,
      "temperature": 6.09,
      "relativeHumidity": 85.91,
      "windspeed": 3.7,
      "windDirection": 203.5,
      "timeStamp": "2005-01-01T20:00:00",
      "adjustedTimeStamp": "2005-01-01T20:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 22,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.47,
      "temperature": 5.69,
      "relativeHumidity": 85.92,
      "windspeed": 2.9,
      "windDirection": 164.6,
      "timeStamp": "2005-01-01T21:00:00",
      "adjustedTimeStamp": "2005-01-01T21:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 23,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.6,
      "temperature": 5.29,
      "relativeHumidity": 85.94,
      "windspeed": 2.3,
      "windDirection": 220.2,
      "timeStamp": "2005-01-01T22:00:00",
      "adjustedTimeStamp": "2005-01-01T22:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    },
    {
      "id": 0,
      "weatherId": 68915,
      "index": 24,
      "dewpoint": null,
      "diffuseHorizontalIrradiance": 0,
      "directNormalIrradiance": 0,
      "planeOfArrayIrradiance": null,
      "globalHorizontalIrradiance": 0,
      "pressure": 931.73,
      "temperature": 4.88,
      "relativeHumidity": 85.95,
      "windspeed": 2.2,
      "windDirection": 170.6,
      "timeStamp": "2005-01-01T23:00:00",
      "adjustedTimeStamp": "2005-01-01T23:30:00",
      "precipitableWater": null,
      "rainfall": 0,
      "albedo": 0,
      "soilingLoss": null,
      "beamHorizontalIrradiance": 0,
      "clearSkyIrradiance": 0
    }
  ],
  "dataType": 1,
  "customerName": "",
  "apiLocked": false,
  "apiDownloaded": false,
  "offsetMinutes": 0,
  "usingSytemKey": false,
  "moduleTilt": null,
  "moduleAzimuth": null,
  "trackingType": null,
  "trackingBacktrackingType": 0,
  "minimumTrackingLimitAngleD": 0,
  "maximumTrackingLimitAngleD": null,
  "trackerPitchAngleD": 0,
  "trackerStowAngle": 0,
  "groundCoverageRatio": null,
  "id": 68915,
  "name": "Meteonorm - 40.193N - 99.715W",
  "description": null
}
'
{
  "id": 68916
}

Documentation Index

Fetch the complete documentation index at: https://docs.plantpredict.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Body

application/json
name
string
required
latitude
number
required
longitude
number
required
description
string | null
status
enum<integer>

LibraryStatusEnum

Available options:
0,
1,
2,
3,
4,
5,
6
source
enum<integer>

WeatherSourceTypeAPIEnum

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
stationName
string
stationCode
string
format
enum<integer>

WeatherFormat

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
elevation
number
timeZone
number
timestampDefinition
enum<integer>

WeatherTimestampDefinitionEnum

Available options:
0,
1,
2,
3
timeInterval
integer
startDate
string<date-time>
endDate
string<date-time>
dataProvider
enum<integer>

WeatherDataProvider

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
dataType
enum<integer>

WeatherDataType

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
country
string
countryCode
string
stateProvince
string
stateProvinceCode
string
locality
string
region
string
globalHorizontalIrradianceSum
number
diffuseHorizontalIrradianceSum
number
directNormalIrradianceSum
number
planeOfArrayIrradianceSum
number
averageAirTemperature
number
averageWindSpeed
number
weatherDetails
object[]
pLevel
number
windSensorHeight
number
offsetMinutes
integer
moduleTilt
number
moduleAzimuth
number
trackingType
enum<integer>

DCFieldTrackingTypeEnum

Available options:
0,
1,
2
groundCoverageRatio
number

Response

Created weather ID

id
integer
required