{"uid":"cap_UON9E1i-CMi9c0TS47Es7","slug":"rainfall-observations-string-normalisation-secondary-measure-weighted-002a62a2","name":"Rainfall Observations — String Normalisation + Secondary-Measure Weighted Mean","description":"Rainfall observations — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-weather-02-034?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ur1Lst5EcmF8yGAM8dfl6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalises string fields and computes a secondary-measure weighted mean across supplied rainfall observation records (rainfall_mm, duration_hours) for up to 200 rows.","exampleAgentPrompt":"Can you normalise the station group strings and compute a duration_hours-weighted mean of rainfall_mm for these 4 rainfall observations: row-1 on 2026-10-01 with 10mm over 1 hour at group-a, row-2 on 2026-10-02 with 20mm over 2 hours at group-b, row-3 on 2026-10-03 with 15mm over 3 hours at group-a, and row-4 on 2026-10-04 with 30mm over 4 hours at group-b?","exampleUseCases":[{"title":"Weighted mean for weather station network","prompt":"I have readings from two station groups collected over October — can you normalise the station group names and compute the duration-weighted mean of rainfall_mm across these 12 rows? Here are the records: row-1, group-a, 2026-10-01, 8mm, 2hrs; row-2, group-B, 2026-10-01, 12mm, 3hrs; ... (up to 12 rows total)"},{"title":"Cleaning inconsistent rainfall log strings","prompt":"My rainfall log CSV has messy station_group values with mixed casing and extra spaces — can you run string normalisation plus a secondary-measure weighted mean on these 50 rainfall observation rows so I get clean labels and a weighted average?"},{"title":"Aggregating hydrology field data","prompt":"We collected 80 rows of field rainfall observations across multiple sites. Can you normalise the site name strings and calculate a duration_hours-weighted mean for the rainfall_mm field so we can compare sites fairly?"}],"resultDescription":"Returns two analytical reports per call: (1) normalised string values for the station_group and other string fields across all submitted rows, and (2) a secondary-measure weighted mean for the selected numeric field (rainfall_mm or duration_hours), weighted by the complementary measure. Results are scoped entirely to the supplied data with no external lookups or predictions.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, date, rainfall_mm, duration_hours, station_group) causes rejection","Invalid date format (not YYYY-MM-DD) triggers a pattern validation error","Numeric values outside the allowed range cause schema rejection","Payment failure via x402 protocol prevents processing"],"whenToPreferThis":"Choose this endpoint when you have rainfall observation records (up to 200 rows) and need both string normalisation of categorical/label fields and a secondary-measure weighted mean computed locally without any external API calls, live data lookups, or predictions. Ideal for preprocessing and summarising hydrology or weather station datasets in a single low-cost call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:11:38.438Z","isFirstParty":false,"canonicalSlug":"rainfall-observations-string-normalisation-secondary-measure-weighted-002a62a2"}