Skip to main content
POST
/
Weather
/
Parse
Parse a raw weather file upload
curl --request POST \
  --url https://api.plantpredict.terabase.energy/Weather/Parse \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "weatherFileInfo": {
    "error": false,
    "errorDescription": null,
    "warningMessage": null,
    "source": "Meteonorm - 40.193N - 99.715W.xlsx",
    "latitude": 40.1932678,
    "longitude": -99.7152252,
    "elevation": 665,
    "timeZone": -6,
    "region": "North America",
    "pLevel": 0,
    "windSensorHeight": 10,
    "dataProvider": 4,
    "dataType": 1,
    "format": 3,
    "weatherDataModelVersion": "8.1.2.15989",
    "customerName": "",
    "stationName": "",
    "stationCode": null,
    "separatorType": ",",
    "customSeparater": null,
    "headerRowsToSkip": 3,
    "startDate": "2005-01-01T00:00:00",
    "endDate": "2005-12-31T23:00:00",
    "timeInterval": 60,
    "timestampDefinition": 2,
    "columnMappings": {
      "ghi": 2,
      "dni": 3,
      "dhi": 4,
      "temp": 5,
      "windspeed": 6,
      "relativeHumidity": 7,
      "pwat": 8,
      "rain": 9,
      "pressure": 10,
      "dewpointTemp": 11,
      "windDirection": 12,
      "soilingLoss": 13,
      "poai": 14
    },
    "fileLimitReached": false,
    "rowCount": 8763,
    "weatherFileKey": "8f83cecb-4080-4b84-9c52-3f99e457ef5e",
    "locality": "Oxford",
    "stateProvince": "Nebraska",
    "stateProvinceCode": "NE",
    "country": "United States",
    "countryCode": "US",
    "offsetMinutes": 0,
    "includesLeapDays": false,
    "moduleTilt": null,
    "moduleAzimuth": null,
    "trackingType": null,
    "trackingBacktrackingType": 0,
    "minimumTrackingLimitAngleD": null,
    "maximumTrackingLimitAngleD": null,
    "trackerPitchAngleD": null,
    "trackerStowAngle": null,
    "groundCoverageRatio": null
  }
}

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

multipart/form-data
file
file

Response

Parsed weather file info

weatherFileInfo
object