Data reduction pipeline for MOF-based synoptic telescopes