3.4.3.9. Cloud masking

_images/cloud_masking_tab.jpg

cloud_masking_tool Cloud masking

This tool allows for cloud masking, based on the values of a raster mask, creating an output masked band for each band of the Band set. NoData is set in all the bands of the Band set for pixels corresponding to clouds.

3.4.3.9.1. Mask of band set

  • Select input band set input_number: select the input Band set to be masked;
  • Select the classification input_list: select a classification raster (already loaded in QGIS) which contains a cloud class;
  • reload: refresh layer list;
  • Mask class values input_text: set the class values to be masked; class values must be separated by , and - can be used to define a range of values (e.g. 1, 3-5, 8 will select classes 1, 3, 4, 5, 8); if the text is red then the expression contains errors;
  • checkbox Use buffer of pixel size input_number: if checked, a buffer is created for masked area, corresponding to the defined number of pixels; this can be useful to dilate masked area in case the mask doesn’t cover the thinner border of clouds;
  • Output NoData value input_number: set the value of NoData pixels corresponding to clouds;
  • Output name prefix input_text: set the prefix for output file names (default is mask);
  • BATCH batch_tool: add this function to the Batch;
  • RUN run: select an output directory and start the mask process;