Why obs_time Lies: Understanding Observation Age in Real-Time Weather Responses
The current weather your API returns may be 90 minutes old. Here’s how obs_time works, when to trust it, and how to handle stale observations in production.
The current weather your API returns may be 90 minutes old. Here’s how obs_time works, when to trust it, and how to handle stale observations in production.
WeatherAPI returns isDay, sunrise, and sunset as separate fields. Here’s why they diverge, when each breaks down, and which to use for what.
Snow depth fields in weather API responses are tricky. Here’s how to build a reliable accumulation tracker using WeatherAPI data, with real caveats.
A deep dive into WeatherAPI’s air quality fields — what pm2_5, us-epa-index, and gb-defra-index actually measure, where they come from, and when not to trust them.
gust_kph and wind_kph measure fundamentally different things. Here’s what that means for thresholds, alerts, and real-world decisions in your app.
hourly_precip_mm rarely sums to daily_precip_mm in weather API responses. Here’s why the windows don’t align and how to handle it in your code.
vis_km in WeatherAPI responses isn’t what most developers assume. Here’s what the field actually represents and how to avoid the common mistakes.
WeatherAPI returns both local timestamps and epoch values — here’s how they interact with DST, which one to trust, and where UTC-naive code quietly breaks.
WeatherAPI returns moon phase, moonrise, and moonset — but using them correctly requires knowing what the fields actually represent. Here’s how to do it right.
WeatherAPI doesn’t return freezing level altitude directly. Here’s the exact method to derive it from temp, dew point, and lapse rate — with real code.