Spacecraft instruments are highly specialized and can take years to design, build, and test. But a last-minute hack to one…