Skip to content
HALOWERK

Agriwerk

crop thermal time accumulation

Return exact capped growing-degree-hours from a supplied piecewise-linear temperature timeline.

POST https://agri.halowerk.com/v1/crop-thermal-time-accumulation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
times_harrayYes
temperatures_carrayYes
base_cnumberYes
cap_cnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "times_h": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 100,
      "minItems": 2
    },
    "temperatures_c": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -50,
        "maximum": 70
      },
      "maxItems": 100,
      "minItems": 2
    },
    "base_c": {
      "type": "number",
      "minimum": -50,
      "maximum": 70
    },
    "cap_c": {
      "type": "number",
      "minimum": -50,
      "maximum": 70
    }
  },
  "required": [
    "times_h",
    "temperatures_c",
    "base_c",
    "cap_c"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "times_h": [
    0,
    2
  ],
  "temperatures_c": [
    0,
    20
  ],
  "base_c": 10,
  "cap_c": 20
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’