MIDL produces upstream solar wind boundary conditions by downloading, quality-screening, and merging 1-minute data from satellites orbiting the Sun–Earth L1 point: ACE, DSCOVR, WIND, and SOLAR-1 (magnetometer from April 2026).
3-point median despike filter. Short data gaps are interpolated - magnetic field up to 5 min, plasma up to 60 min.
Quality scoring across every available satellite. Best source selected per variable per minute using agreement-first rules with continuity fallback.
Ballistic time-shift (ΔXGSM/Ux, with shock handling) or 1D BATSRUS MHD along the Sun–Earth line. Files pre-computed at integer RE in [−70, 70].
Four checks are applied to each satellite's plasma measurements (Ux, Uy, Uz, ρ) before merging. Magnetic field bypasses quality gating.
After quality scoring removes suspect measurements, the remaining satellites are merged using an agreement-first rule:
Magnetic field components (Bx, By, Bz) are selected as a coupled vector - selection runs on |B|, and the winning satellite provides all three components. The output field is always measured simultaneously by a single instrument, preserving ∇ · B = 0. The same approach is used for transverse velocity (Uy, Uz) via |Vt|.
Temperature is handled separately using a geometric median in log-space: T = exp(median(log(T))). This accounts for the log-normal distribution of solar wind temperature and avoids bias from linear averaging. When exactly two satellites contribute and one is DSCOVR, only the non-DSCOVR value is used.
When the contributing satellite set changes from one minute to the next, the resulting step discontinuity is smoothed with a boxcar mean. Window width scales with jump magnitude - larger jumps get wider windows, up to 60 minutes. Steps at minutes where the source does not change are left untouched, preserving real solar wind discontinuities.