An elastic framework for ensemble-based large-scale data assimilation. (July 2022)