Based on the BiasCorrection.R script I have added the EnsBiasCorrection.R script that corrects ensemble forecasts. I have also written a test script. For some unclear reason this still fails although there is no error message as far as I see. The tests works fine locally (using R 3.3 and 3.5).