Skip to content
HALOWERK

Calculators and Rule Checks

soil moisture rain day difference

Daily soil moisture by rainfall compares days with at least 1 mm of rain to days with zero rain, using 24 observed rainfall hours. Use it when an agent needs historical soil observations near one of nine US stations in 2024–2025.

POST https://rechen.halowerk.com/v1/soil-moisture-rain-day-difference

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latitudeSee schemaYesUS stations, 60 km maximum. Coordinates are listed in the free schema usage guide.
longitudeSee schemaYes
startstringYes
endstringNo
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "latitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 25
        }
      ],
      "description": "US stations, 60 km maximum. Coordinates are listed in the free schema usage guide."
    },
    "longitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 25
        }
      ]
    },
    "start": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20
    },
    "end": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20
    },
    "snapshot": {
      "enum": [
        "uscrn-2024-2025"
      ]
    }
  },
  "required": [
    "latitude",
    "longitude",
    "start"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "latitude": "35.97",
  "longitude": "-79.09",
  "start": "2024-06-01",
  "end": "2024-06-14",
  "snapshot": "uscrn-2024-2025"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "station": {
          "type": "string"
        },
        "distance_km": {
          "type": "number"
        },
        "wet_days": {
          "type": "integer"
        },
        "dry_days": {
          "type": "integer"
        },
        "wet_vwc": {
          "type": [
            "number",
            "null"
          ]
        },
        "dry_vwc": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "station",
        "distance_km",
        "wet_days",
        "dry_days",
        "wet_vwc",
        "dry_vwc"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →