Multi-Band Synchronization

Getting synchronized multi-band cutouts took a full week to solve. The trick, which seems so obvious now, was to calculate the bounding box just once using a reference coordinate system (WCS) and then apply that same box to all the different filter bands (g-band, r-band, etc.).


Before this, I was wrestling with cases where the g-band had data but the r-band would throw an exception. The goal was to "handle missing bands gracefully." When I asked for a definition of "gracefully," we settled on a simple one: "don't crash." Mission accomplished.


Comments

Popular posts from this blog

Damn couldn't believe I got in again.

Proposal Sent! The Waiting Game Begins...

Proposal Mode: Activated