How to process sentinel2 using sen2cor

a solution was proposed here: