Data reduction pipeline for SHOC