{"uid":"cap_lSwr4jXHAmbgjSBlaWvB9","slug":"temperature-observations-exact-row-deduplication-secondary-measure-2dda08f4","name":"Temperature Observations — Exact Row Deduplication + Secondary-Measure Weighted Mean","description":"Temperature observations — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied temperature observations records (temperature_c, observation_count). 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-01-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","temperature_c","observation_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"station_group":{"type":"string","default":"","maxLength":80},"temperature_c":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observation_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","station_group":"group-a","temperature_c":10,"observation_count":1},{"date":"2026-10-02","row_id":"row-2","station_group":"group-b","temperature_c":20,"observation_count":2},{"date":"2026-10-03","row_id":"row-3","station_group":"group-a","temperature_c":15,"observation_count":3},{"date":"2026-10-04","row_id":"row-4","station_group":"group-b","temperature_c":30,"observation_count":4}],"maxItems":200,"minItems":1},"field":{"enum":["temperature_c","observation_count"],"type":"string","default":"temperature_c"}}},"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_wA7Xw-XTf2NF6JDeDkmWv","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":"Deduplicates exact duplicate rows and computes observation-count-weighted mean temperatures from supplied temperature observation records, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have a set of temperature observation records with columns for row_id, station_group, date, temperature_c, and observation_count — can you deduplicate exact duplicate rows and compute the observation-count weighted mean for temperature_c across up to 200 rows?","exampleUseCases":[{"title":"Clean weather station duplicate readings","prompt":"I've got daily temperature readings from multiple station groups with some exact duplicate entries — can you remove the duplicates and give me the observation-count weighted mean temperature for these records? Here's the data with row_id, station_group, date, temperature_c, and observation_count fields."},{"title":"Weighted average temperature by observation volume","prompt":"I need to aggregate my temperature sensor logs where each row has an observation_count — can you compute a weighted mean of temperature_c using observation_count as the weight, after deduplicating any identical rows?"},{"title":"Data quality check on temperature dataset","prompt":"Before I use this temperature dataset in my report, can you run exact row deduplication and produce a weighted mean summary for temperature_c weighted by observation_count? I have about 150 rows covering several station groups and dates."}],"resultDescription":"Two analytical reports: (1) a deduplicated version of the input rows with exact duplicate records removed, and (2) a secondary-measure weighted mean of the specified field (temperature_c or observation_count) weighted by observation_count, computed across the supplied data. Results cover up to 200 input rows and are derived entirely from the submitted data using local analytical engines with no external lookups.","failureModes":["Input exceeds 200 rows — request rejected","Missing required fields (row_id, station_group, date, temperature_c, observation_count) — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure","All rows are duplicates — deduplication returns single representative row","Null values in temperature_c or observation_count may affect weighted mean computation","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have raw temperature observation records that may contain exact duplicate rows and need both a cleaned dataset and a statistically sound weighted mean that accounts for differing observation volumes per row. It is ideal for pre-processing weather station data before downstream analysis, especially when observation_count varies significantly across records and a simple average would be misleading. It operates entirely on supplied data with no external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:56:24.171Z","isFirstParty":false,"canonicalSlug":"temperature-observations-exact-row-deduplication-secondary-measure-2dda08f4"}