Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for research associates

Weather Station Data Gap Filling Agent

A clean, flagged sensor series where every gap and drift is either corrected by a documented method or left open.

Weather Station Data Gap Filling Agent: what goes in, what the agent does and what you get

What it does

A station that dropped out for three days or drifted 2 degrees warm can bias a season of analysis without anyone noticing. This agent scans each sensor series for gaps, stuck values and drift. It compares the series to nearby stations and to the station's own history to see where it departs. It then proposes a fill method for each problem, such as interpolation for short gaps or regression to the nearest station for longer ones, and marks every filled value. It checks the filled values against plausible physical ranges and against neighbors, and loops back to try another method if they fail. You approve the final series. Edge case: gaps longer than a set number of days are left empty rather than filled.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN New sensor data downloaded 2 USES A TOOL Load the series and nearby station data 3 DOES Detect gaps, stuck values and drift 4 DOES Choose a fill method for each problem by length andcause 5 DOES Fill values and flag each one 6 CHECKS THE RESULT Are all filled values inside plausible range? If not: switch to another method for the failing segmentand refill. Back to step 4. 7 CHECKS THE RESULT Do filled values agree with neighboring stationswithin tolerance? If not: try a different reference station or leave thesegment empty. Back to step 4. 8 DOES Write a log of every change and method 9 YOU APPROVE Scientist approves the final series 10 RESULT Cleaned series with quality flags
Read the steps as a list
  1. New sensor data downloaded
  2. Load the series and nearby station data
  3. Detect gaps, stuck values and drift
  4. Choose a fill method for each problem by length and cause
  5. Fill values and flag each one
  6. Are all filled values inside plausible range?If not: switch to another method for the failing segment and refill. Back to step 4.
  7. Do filled values agree with neighboring stations within tolerance?If not: try a different reference station or leave the segment empty. Back to step 4.
  8. Write a log of every change and method
  9. Scientist approves the final seriesThe agent waits here for your OK.
  10. Cleaned series with quality flags

How it decides

Short gaps are interpolated, longer gaps use neighbor regression, and gaps beyond the limit stay empty. A fill is kept only if it passes the range and neighbor checks.

  • Gap up to 3 hours: linear interpolation
  • Gap 3 hours to 3 days: regression with the best neighbor
  • Gap over 3 days: leave empty and flag
  • Drift over 0.5 degrees compared to neighbors: flag and do not fill automatically

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Gap length limits for each method
  • Plausibility ranges per variable
  • Neighbor stations to use
  • Drift tolerance
  • Schedule

What keeps you in control

It always asks you first

  • The final series
  • Any correction of drift

Hard limits

  • Never overwrite raw data, always write a new flagged series
  • Never fill gaps beyond the set limit

It stops when

  • Done: series cleaned and logged
  • Stop: no neighboring station data available

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA field station lost air temperature for 31 hours on 4 July. The agent chose regression with the station 6 km away. Filled values reached 41 degrees at night, so the range check failed. It switched to a second neighbor and got 17 to 29 degrees, agreeing within 1.1 degrees. A separate 6-day gap stayed empty. The scientist approved the series.

More agents for research associates