Cloud, and shadow, masking of Sentinel 2 images using Google Earth Engine Python API. Refactored from javascipt posted in the forum in this thread: Sentinel 2 cloud masking.
Authenticate Earth Engine (if necessary)
earthengine authenticate
Run the jupyter notebook
git clone https://github.com/samsammurphy/cloud-masking-sentinel2.git
cd cloud-masking-sentinel2
jupyter-notebook cloud-masking-sentinel2.ipynb