{"uid":"cap_g0rLTnqC7USgoVkw_YsOo","slug":"elevation-samples-string-normalisation-secondary-measure-weighted-mean-c748afba","name":"Elevation Samples — String Normalisation + Secondary-Measure Weighted Mean","description":"Elevation samples — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied elevation samples records (elevation_m, sample_weight). 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-13-034?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"}}},"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_YvFFKz5ijO3RQJF6DRjyN","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 sample-weight-based weighted mean for elevation measurement records, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 50 elevation sample records each with an elevation_m value and a sample_weight — can you normalise the station group strings and give me the sample-weight weighted mean for elevation_m across all rows, in two separate reports?","exampleUseCases":[{"title":"Survey station elevation aggregation","prompt":"I've collected elevation readings from two station groups over a week — here are 80 rows each with an elevation_m and a sample_weight. Can you normalise the station group labels and compute the weighted mean elevation for me, with two reports?"},{"title":"Environmental monitoring data cleanup","prompt":"I have a batch of 150 elevation sample records from our field sensors, some with inconsistent group name casing. Please normalise the strings and calculate the sample-weight weighted mean for elevation_m so I can use the results in my report."},{"title":"Multi-date weighted elevation summary","prompt":"Here are 200 daily elevation samples across multiple dates and station groups, each with a sample_weight. I need the station group strings normalised and a weighted mean of the elevation_m field — two analytical reports please."}],"resultDescription":"Two independent analytical reports: one covering string normalisation results for fields like station_group, and one providing the sample-weight weighted mean for the selected field (elevation_m or sample_weight), computed locally without any external lookup or live data.","failureModes":["More than 200 rows submitted — request rejected due to row limit","Missing required fields (row_id, elevation_m, sample_weight, date, station_group) cause validation errors","Null or non-numeric values in elevation_m or sample_weight may affect weighted mean computation","Invalid date format (not YYYY-MM-DD) triggers schema validation failure","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you need both string normalisation and a weighted mean computation on elevation sample data in a single low-cost call (0.01 USDC for two reports). Ideal for small-to-medium datasets (up to 200 rows) where you want offline, deterministic analytics without live lookups or external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:38.034Z","isFirstParty":false,"canonicalSlug":"elevation-samples-string-normalisation-secondary-measure-weighted-mean-c748afba"}