Ink illustration of telescope exposures entering a shared pipeline and emerging as two distinct streams.

Rubin’s Approaching 10-Terabyte Nights Run Through a Butler and a Million-Plus Lines of Code

A new overview of the LSST Science Pipelines explains how Rubin Observatory expects to turn raw nightly images into alerts and annual data releases, with shared software that has also processed data from other surveys.

Oct 19, 2026

At Cerro Pachón in Chile, the 8.4-meter Simonyi Survey Telescope and its 3.2-gigapixel LSSTCam began the ten-year Legacy Survey of Space and Time in 2026. The observatory’s Data Management System is designed to handle a flow approaching 10 terabytes per night. That stream must become science-ready images and catalogs, and fresh detections must also become alerts through nightly prompt processing.

Before an alert reaches an astronomer, software removes detector signatures, subtracts a deep template from each new image, finds what changed, measures it, rejects artifacts, matches it to earlier detections, and packages the result. The 15 October 2026 study by the Rubin Observatory Science Pipelines Developers gives an overview of the system that does that work: the LSST Science Pipelines.

The paper is not a new cosmic discovery. It is a description of the machinery behind Rubin’s data releases and nightly alerts. That machinery is used for Data Release Production and Alert Production, and it was used to make Rubin’s first public data previews: Data Preview 1 from the LSST Commissioning Camera and Data Preview 2 from LSSTCam.

A Butler That Locates Data by Instrument, Sky Region, and Band

The software’s central data-access abstraction is the Data Butler. Algorithmic code does not need to know where data are stored or what format they use. A registry keeps track of datasets, and a datastore maps them to bytes.

Each dataset is located by a data coordinate, a set of scientific labels such as instrument, detector, and exposure for a raw image, or instrument, tract, patch, band, and skymap for a coadded image. A tract is a sky tile, and a patch is a smaller region within it. The paper also notes that a dataset is uniquely identified by its dataset type, run collection, and coordinates.

PipelineTasks declare the dimensions of their units of work, called quanta, along with their inputs and outputs. A YAML declaration of tasks and configuration plus a Butler query builds a quantum graph, a directed acyclic graph of work units. The paper says quantum graphs range from a few tens of quanta for nightly processing of a single detector image to millions for a piece of the yearly data release pipelines. The same graph interface serves the low-latency Prompt Processing framework and the Batch Processing System.

As of September 2026, the count for the lsst_distrib metapackage, which groups the main pipeline software, is more than 900,000 lines of Python and approximately 220,000 lines of C++, excluding third-party code and the Solar System Pipeline. The project has been developing the software since at least 2004. That long history appears in configuration, testing, provenance, and visualization tools built around the algorithms.

One Stack, Two Speeds: Nightly Alerts and Yearly Releases

Rubin needs two kinds of processing. Alert Production prioritizes speed, while Data Release Production prioritizes accuracy. The paper describes Alert Production and Data Release Production pipelines that share tasks but configure them for latency or for more measurement.

In the nightly path, the pipeline subtracts a template coadd, a deep template made by stacking many exposures, from a new science image. It detects positive and negative peaks on the difference image and measures DIASources, or difference-image sources. It filters sources that look like satellites, saturated pixels, bad background subtraction, or trails moving faster than 10 degrees per day. A machine-learning reliability score gives users another way to separate astrophysical transients from artifacts.

New DIASources are associated into DIAObjects, which group related detections. Alert packets carry the triggering source, the associated object, up to twelve months of history, and cutouts of the science, template, and difference images. They are serialized in Avro and sent to community brokers through Kafka.

The annual path runs a slower, deeper chain: calibration, warping and coaddition, multi-band deblending, forced photometry, global astrometric and photometric solutions, and catalog generation. The same code base supports both paths because tasks are configurable and the data-access layer is designed not to depend on file format.

Rubin’s survey is also built to find moving objects. The Solar System Pipeline links DIASources that cannot be attributed to static sky sources. Its core linking code, heliolinx, clusters detections in three-dimensional space rather than only on the sky.

The paper says heliolinx is designed to be capable of detecting 95 percent of Solar System objects whose tracklets are observed over three nights within a 15-night window. The paper presents this as a design requirement rather than a demonstrated survey result. Highly certain candidate discoveries and re-observations of known objects are reported to the Minor Planet Center using the PSV variant of the ADES astrometry exchange format. Orbits replicated back from the MPC are used to compute absolute magnitudes, predict positions, and search earlier data for precovery, which means finding observations of an object before it was recognized. Precomputed ephemerides built with Sorcha and mpsky let the system associate moving objects quickly during the night.

Reuse Beyond Rubin, With Limits on What the Overview Covers

One notable result is that the architecture has traveled. The pipelines have processed Hyper Suprime-Cam data and Rubin’s Data Previews 1 and 2. They are also used, or adapted through instrument packages, by projects including the Dark Energy Camera, MegaPrime, VISTA’s VIRCAM, the Wide Field Survey Telescope, GOTO, and the Nickel Telescope. SPHEREx uses the pipeline middleware. That breadth is evidence that the Data Butler and task-graph design are not locked to one telescope.

The overview has boundaries. It does not describe individual algorithms in detail or document data products and file formats. It reports architecture and design rather than a science validation campaign.

The authors note practical limits. Aperture corrections, which scale fluxes to a standard aperture, are not exactly right for extended galaxies and can add uncertainty. The error from coadding those corrections cannot currently be quantified. CModel galaxy-model flux uncertainties are known to be severely underestimated. A color correction for the Piff point-spread-function model, the blur model used in data release processing, has not yet been implemented.

Those caveats matter because the pipeline is the interface between a 3.2-gigapixel camera and the astronomer. Software decides which detections become alerts, which measurements become catalogs, and which candidates are filtered as artifacts. Rubin’s ten-year survey is expected to produce repeated data releases and nightly alerts from the same underlying code. The paper is a map of that machinery for Rubin’s ten-year survey.

The LSST Science Pipelines Software: Optical Survey Pipeline Reduction and Analysis EnvironmentDevelopers, Rubin Observatory Science Pipelines, AlSayyad, Yusra, Armstrong, Robert, Axelrod, Tim S., Banovetz, John, Bechtol, Keith, Bellm, Eric C., Bernardinelli, Pedro H., Bosch, James F., Bradshaw, Andrew, Broughton, Alexander, Budlong, Audrey, Caplar, Neven, Carlin, Jeffrey L., Ceballo, Ross, Chandler, Colin Orion, Chiang, Hsin-Fang, Chiang, James, Choi, Yumi, Cohen-Tanugi, Johann, Connolly, Andrew J., Dagoret-Campagne, Sylvie, Dubois-Felsmann, Gregory P., Economou, Frossie, Eiger, Orion, Ferté, Agnès, Findeisen, Krzysztof, Fisher-Levine, Merlin, Gower, Michelle, Guy, Leanne P., Hernandez, Fabio, Herner, Kenneth, Hoblitt, Joshua, Howard, Erin Leigh, Hyun, Minhee, Irving, David H., Ivezić, Željko, Jenness, Tim, Jurić, Mario, Kannawadi, Arun, Kelvin, Lee S., Krughoff, K. Simon, Kurlander, Jacob A., Léget, Pierre-François, Lim, Kian-Tat, Lupton, Robert H., Lust, Nate B., MacArthur, Lauren A., MacBride, Sean Patrick, McCormick, Jeremy, Homar, Guillem Megias, Meyers, Joshua E., Moeyens, Joachim, Moolekamp, Fred E., Mullaney, James R., Nourbakhsh, Erfan, O'Mullane, William, Parejko, John K., Park, Hye Yun, Patterson, Maria T., Pietrowicz, Stephen R., Malagón, Andrés A. Plazas, Price, Paul A., Ranabhat, Arianna, Rawls, Meredith L., Reed, Sophie L., Rykoff, Eli S., Salnikov, Andrei, Sánchez, Bruno O., Saunders, Clare, Sedaghat, Nima, Sick, Jonathan, Slater, Colin T., Smart, Brianna M., Snyder, Adam, Sullivan, Ian S., Swinbank, John D., Taranu, Dan S., Thornton, Adam J., Yuankun, Wang, Waters, Christopher Z., Williams, Christina C., Wittgen, Matthias, Wood-Vasey, W. M., Zhang, Tianqinghttps://arxiv.org/abs/2610.22613v1