DOI: 10.5281/zenodo.3522068
title: CNES ALCD Open water masks

description: "CNES ALCD Open water masks" is a reference dataset for water masks based on Sentinel-2 (L1C) images. This dataset generation has been funded by CNES under the SWOT-Downstream programme. <strong>Generation Method</strong> This dataset has been generated with the Active Learning for Cloud Detection (ALCD) software developed by CNES/Cesbio, that enables to generate any kind of reference mask using satellite images. This procedure involves between 1 or 2 hours of work to generate each reference image : create reference points on the image (water, land, cloud, snow...) manually, do the training (based on Random Forest of OTB) and prediction with ALCD, add new reference points for the most problematic areas, repeat new training/predictions as many times as necessary (usually 3-5 iterations), and finally, do a manual correction of persistent errors. <strong>Dataset format (raw masks)</strong> The dataset contains 26 files (scenes) at 10m resolution for 110km x 110km size. The content of pixels of the scene files (geotiff) follows the following naming rule<br> 0 = Non Water observation (as land, snow)<br> 1 = Open Water observation<br> 255 = no data (as clouds) Format of file names: T{tile}_{YYYMMDD}_{site}_{season}.tif where : tile = reference Sentinel 2 tile (Cesbio post), YYYYMMDD = date of Sentinel 2 acquisition, site = name of the site, season = summer, winter Example : T30TXQ_20180201_Bordeaux_winter.tif T30UXU_20180708_Bretagne_summer.tif <br> <strong>Dataset format (inland masks)</strong><br> <br> This dataset has a version without coastal/ocean waters called "inland masks" aimed to characterize just inland waters. The dataset has been processed with the coastal lines of GSSHG layers : https://www.soest.hawaii.edu/pwessel/gshhg/ in H level, and using an erosion of 400m towards the continent.<br> Thus, any pixel closer to the GSSHG coast line than 400m and beyond will be considered as "no data"(value=255). The format of the pixels content and file naming follow the same rules as in the "raw masks" version. <br> <strong>Generation process (White book)</strong><br> <br> A short description of an efficient usage of the Active Learning for Cloud Detection (ALCD) for surface water detection and extraction. <em>Input data</em><br> Sentinel‐2 bands:<br> ‐ B2 : Blue<br> ‐ B3 : Green<br> ‐ B4 : Red<br> ‐ B8 : NIR<br> ‐ B11 : SWIR1<br> ‐ B12 : SWIR2<br> ‐ MNDWI<br> ‐ Slope: derived from SRTM. <em>Image visual analysis</em><br> It is recommended to go through the image visually to identify the different types of water bodies and land covers present on the scene. <em>Choosing samples</em><br> So far, only the « water_1pixel.shp » and « land_1pixel.shp » have been used to host the samples. More precise, they allow to identify pixels which will be used during the algorithm training. Even though the use of these layers requires a larger number of sampling points, they make the selection more precise and give a higher control over the input. During the first iteration:<br> ‐ Chose around 15 sampling points representing the land cover diversity present in the scene (different types of water, turbidity etc.).<br> ‐ Prefer “pure” pixels. <em>Further recommendations</em><br> ‐ Try not to exceed 7 iterations<br> - Multiplying iterations means a higher number of samples, which increases the chances of introducing false samples and then compromising the classification quality.<br> - The aim is to find the best compromise between omission and commission.<br> - It’s not about having a perfect classification but rather finding the classification that will minimize the post‐processing time.<br> ‐ Adding new samples may degrade the classification. Using a dark shadow as “not water”, even though the pixel is spectrally very close to a “water” pixel, will disturb the model and lea to a classification of lesser quality than the previous iteration. If the result of an iteration is significantly worse than the previous iteration, it might be wiser to start again from this previous iteration rather than continuing with the problematic added samples.<br> ‐ As said previously, the user should avoid to add any type of shadow in the « not water » class. Using such pixels will reduce the model efficiency at extracting water. During production, it’s easier to stick to one type of error, usually commissions, and making sure that all water bodies are correctly classified. Falsely detected shadows can be corrected easily during the post‐processing step.<br> ‐ More generally, it’s easier to deal with commissions than omission.