buttons-06.png

Cloud Statistics

Contributed by CEOS SEO/AMA

Cloud statistics are valuable information for performing analyses. For example, if there are extensive clouds during a season, it may significantly impact mosaic products or index values. Users may also want a way to find dates when there are few clouds, so that they may assess land features.

​The Notebook linked below explores Landsat 7 and Landsat 8 Data Cubes and demonstrates the generation of cloud statistics for selected regions.

​​Explore the Application 

View the notebook and sample outputs here.

Want to use the example Notebook on your own Data Cube and data? 

Download the Notebook from GitHub here and run it on your own Cube in a Box installation.

 

Tutorial

The video above provides a run through of the Notebook, with the steps listed here:

  1. All DCAL notebooks begin by specifying a location, time window, and product of interest.

  2. The extents and products are examined and selected in the first 6 cells of the notebook, with user options available in the 3rd and 5th cells, marked by "#CHANGE HERE >>>>>>>>>>>>>>>>>>".

  3. Any values within the bounds detailed in the 4th cell will work, and it is suggested to keep the region and time period small. The resulting area is shown in red in cell 6.

  4. You can click on the map to query the coordinates under the cursor.

  5. In cells 7 and 8, you load a region of the Data Cube using the selected extents, products and measurements. You also define an algorithm to utilise the Landsat Quality bands, which indicate different types of cloud that may be present in the scene. Nothing needs to be changed here.

  6. The proportion of cloud covered scene is represented for each scene in your time extent in cell 10.

  7. Cells 11-14 are used to display RGB composites of each scene, and the scene displayed can be changed in cell 14 by changing the value of "at_index".