# Rainfall Observations — String Normalisation + Grouped Numeric Summary

> Rainfall Observations — String Normalisation + Grouped Numeric Summary is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Normalises string fields and produces a grouped numeric summary report for up to 200 rows of rainfall observation data (rainfall_mm, duration_hours).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-02-023?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rainfall-observations-string-normalisation-grouped-numeric-summary-422f3d8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wd-DHP4HkCtcRlEPSr4G4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rainfall-observations-string-normalisation-grouped-numeric-summary-422f3d8b -d '<json body>'
```

Example prompt: I have rainfall observation records for two station groups — Group A and Group B — with dates, rainfall_mm, and duration_hours values for about 50 rows. Can you normalise the string fields and give me a grouped numeric summary broken down by station_group, focusing on rainfall_mm?

## When to prefer this

Choose this endpoint when you have tabular rainfall observation data (up to 200 rows) with station group labels and need both string normalisation of categorical fields and grouped numeric statistics in a single call. It is ideal for data cleaning plus summary analytics on rain gauge records without requiring any live data feeds, external weather APIs, or professional forecasting services. Prefer it over generic analytics tools when the dataset fits within 200 rows and cost efficiency ($0.01 per call for two reports) is a priority.

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Missing required fields (row_id, station_group, date, rainfall_mm, or duration_hours) — validation error
- Invalid date format (must be YYYY-MM-DD) — schema validation failure
- Numeric fields out of accepted range — validation error
- Empty rows array — minimum 1 row required
- Invalid field enum value (must be 'rainfall_mm' or 'duration_hours') — schema error

## How this service works

Rainfall observations — String normalisation + Grouped numeric summary: String normalisation + Grouped numeric summary for supplied rainfall observations records (rainfall_mm, duration_hours). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) normalised string fields for the supplied rows (cleaning station_group and date labels), and (2) a grouped numeric summary (e.g. count, mean, min, max, sum) of the selected numeric field (rainfall_mm or duration_hours) broken down by station_group. Both reports are computed locally against the supplied data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "station_group",
     "date",
     "rainfall_mm",
     "duration_hours"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "rainfall_mm": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "station_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "duration_hours": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "rainfall_mm": 10,
     "station_group": "group-a",
     "duration_hours": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "rainfall_mm": 20,
     "station_group": "group-b",
     "duration_hours": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "rainfall_mm": 15,
     "station_group": "group-a",
     "duration_hours": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "rainfall_mm": 30,
     "station_group": "group-b",
     "duration_hours": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "rainfall_mm",
    "duration_hours"
   ],
   "type": "string",
   "default": "rainfall_mm"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rainfall-observations-string-normalisation-grouped-numeric-summary-422f3d8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
