frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I replaced a $1K+/mo radar tile API with a NOAA pipeline $4/mo EC2 instance

https://apps.apple.com/us/app/lucidsky/id6759828086
2•tfradet•1h ago

Comments

tfradet•1h ago
I'm building a weather app for iOS (LucidSky). Weather apps live or die on radar, so I went looking for radar tile APIs early on.

The best option I found was Rainbow.ai — beautiful NEXRAD composites, easy XYZ tile API. The pricing on their site starts around $99/mo for low volume, but it scales up fast with tile requests. At any real scale you're looking at $500–$2K+/mo. For a solo project, that's a non-starter.

But cost wasn't even my first problem. My first problem was precipitation types.

Most radar tile APIs serve a single reflectivity composite — green/yellow/red blobs that tell you where precipitation is and roughly how intense. That's fine if you only care about rain. But I wanted the radar to differentiate rain, snow, and mixed precipitation with distinct colors, the way the NWS does. Turns out almost no commercial radar API supports this. Rainbow.ai doesn't. Most of the others I evaluated (Tomorrow.io tiles, RainViewer) don't either. They all serve the same single-band reflectivity product.

MRMS does. NOAA's MRMS pipeline produces a precipitation-type layer alongside the precip-rate layer, so you know whether each pixel is rain, snow, freezing rain, or hail. That's the feature that actually pushed me toward building my own pipeline — the cost savings were a bonus.

So I built my own pipeline using NOAA's free MRMS data.

What MRMS is:

MRMS (Multi-Radar Multi-Sensor) is a NOAA product that merges ~180 NEXRAD radars in real-time with surface observations, satellite, and numerical models. NOAA publishes GRIB2 files to a public S3 bucket every 2 minutes. It's free, it's fast, and it's higher resolution than traditional single-site NEXRAD composites — 0.01° (~1km) grid spacing vs the 0.02° composites most radar APIs serve.

The pipeline:

-Cron runs every 5 min on a t4g.small EC2 in us-east-1 (same region as the NOAA S3 bucket — no egress cost) -Downloads latest MRMS GRIB2 file via AWS SDK -GDAL reprojects to Web Mercator, applies precipitation-type masking (separate color ramps for rain/snow/hail), runs gdal2tiles.py to cut into XYZ PNG tiles sharp applies premultiplied-alpha blur for smooth edges -Tiles upload to Cloudflare Storage (free tier CDN) -App fetches /api/radar/mrms/frames to list available timestamps, renders last N frames as animation

Total cost: ~$4/mo for the EC2. Cloudflare storage is free at this scale. NOAA S3 data is free. No API key needed.

The GDAL part was the hardest:

Getting the color ramps right took a while. MRMS precip rate is in mm/hr, so I had to build separate ramps for rain (blue→red), snow (light→dark teal), and hail (purple). The precipitation-type layer tells you which ramp to apply per pixel. gdal_calc.py lets you apply a mask expression across bands, which made this cleaner than I expected.

The alpha blending was subtle — radar tiles layer over map tiles, so semi-transparent edges matter a lot. Premultiplied alpha through sharp's pipeline gave much better results than straight alpha.

What I got:

-Precipitation-type differentiation (rain/snow/freezing rain/hail) — the feature that started this whole thing -Real-time radar that's more granular than commercial NEXRAD composites (0.01° vs 0.02°) 5-minute update cadence (commercial APIs vary; some are 5–10 min) -Full control — I can add storm-relative velocity, echo tops, whatever MRMS publishes -No rate limits, no vendor risk, no per-request pricing -Runs unattended; auto-deploys via GitHub Actions on push to main

The app:

LucidSky is a weather app focused on giving you the full picture — AI summaries of NWS Area Forecast Discussions (the forecaster's actual analysis), MRMS radar, AQI, tide and marine data, seasonal outlooks, etc. iOS only for now.

Repo isn't public yet but happy to share the tile pipeline code if there's interest — the GDAL + sharp setup is reusable for any MRMS-based project.

AI won't take your job. It will take away meaning

https://note.com/noritaka88ta/n/na2bc33a2d327
1•noritaka88•34s ago•1 comments

All Google users in the US can now change their Gmail address

https://www.engadget.com/computing/all-google-users-in-the-us-can-now-change-their-gmail-address-...
1•thm•1m ago•0 comments

The Steam Controller D0ggle Adventure

https://im-just-lee.ing/steam-controller-d0ggle-54682aa4/
1•birdculture•4m ago•0 comments

The Costs of 'Helpful' AI

https://www.nature.com/articles/d41586-026-00966-2
1•Brajeshwar•4m ago•0 comments

Heerich.js – A tiny engine for 3D voxel scenes rendered to SVG

https://meodai.github.io/heerich/
1•brandrick•6m ago•0 comments

We built a tool to turn CIMs into structured deal data for early screening

https://www.valedex.com/
1•marcelvaledex•7m ago•0 comments

Scan any website to see what AI bots can do on it

https://www.maango.io
1•mehula•7m ago•0 comments

UK Police will no longer waste time investigating legal social media posts

https://twitter.com/ukhomeoffice/status/2038969583227355252
2•mellosouls•9m ago•1 comments

What Memoir Scandals Tell Us about Two LLM Writing Scandals

https://countercraft.substack.com/p/what-memoir-scandals-tell-us-about
1•crescit_eundo•10m ago•0 comments

Liquid Glass Updates in 26.4

https://anderegg.ca/2026/03/29/liquid-glass-updates-in-264
2•rpgbr•10m ago•0 comments

Show HN: Claude Code's –/.claude/rules/ loads globally – I built around it

https://github.com/openbootdotdev/openboot
2•openbootdotenv•11m ago•1 comments

New fibre optic record allows 50M movies to be streamed at once

https://www.newscientist.com/article/2520542-new-fibre-optic-record-allows-50000000-movies-to-be-...
1•deadgopher•12m ago•0 comments

Show HN: We turned accounting into a CLI command

2•stanlee_o•12m ago•1 comments

On the trail of ancient art, deep in the Sahara

https://www.ft.com/content/524ed21e-5c35-489e-ae0b-90d40b4cf28a
1•bookofjoe•13m ago•1 comments

Show HN: UAV modeling and yaw maneuvers gone wrong

https://ashwanirathee.com/blog/2026/aakashyaan-1
1•ashwani-rathee•13m ago•0 comments

Claude Code's Real Secret Sauce Isn't the Model

https://sebastianraschka.com/blog/2026/claude-code-secret-sauce.html
2•ModelForge•13m ago•0 comments

If you're a U.S. Google user, you can now change your account username

https://twitter.com/Google/status/2038969843701989773
1•tosh•14m ago•0 comments

I Just Want to Own My Audiobooks

https://medium.com/@sageframe/i-just-want-to-own-my-audiobooks-d98f71652711
2•sageframe•15m ago•0 comments

Every Cure – Save lives by repurposing drugs

https://everycure.org/
1•dotcoma•16m ago•0 comments

Clawd-code – A Python slop fork of Claude Code

https://github.com/instructkr/clawd-code
1•vmg12•17m ago•0 comments

Synthetic Responses: The Big Lie of AI

https://lovelaceanalytics.com/posts/synthetic-responses-lie/
1•herbertl•17m ago•0 comments

The Minimum Developer Must Know About Unicode and Character Sets (2003)

https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutel...
1•gautamsomani•17m ago•0 comments

Goldman CIO Marco Argenti on the Warp-Speed Improvements in AI

https://www.bloomberg.com/news/audio/2026-03-30/odd-lots-goldman-sachs-cio-marco-argenti-on-the-i...
1•vismit2000•18m ago•0 comments

The world’s largest humanoid robot maker is going public

https://restofworld.org/2026/unitree-china-humanoid-robot-shanghai-ipo/
1•Brajeshwar•18m ago•0 comments

Five Open Source AI Agentic Models for Autonomous Work

https://firethering.com/best-open-source-ai-agent-models/
1•steveharing1•24m ago•0 comments

OpenAI Closing Its One-Stop AI Slop Shop Sora Is a Cautionary Tale

https://www.techpolicy.press/openai-closing-its-one-stop-ai-slop-shop-sora-is-a-cautionary-tale/
2•jruohonen•24m ago•0 comments

Whoop, a wearable device maker, raises $575M

https://www.nytimes.com/2026/03/31/business/dealbook/whoop-a-wearable-health-device-maker-raises-...
1•brandonb•26m ago•0 comments

Quantum Threat, Today

https://blog.dark.bio/2026/02/13/quantum-threat-today/
1•michaelsbradley•26m ago•0 comments

Oracle slashes 30k jobs with a cold 6 a.m. email

https://rollingout.com/2026/03/31/oracle-slashes-30000-jobs-with-a-cold-6/
23•pje•26m ago•1 comments

Human in the Loop

https://marketoonist.com/2026/03/human-in-the-loop.html
2•magoghm•27m ago•0 comments