SAGA 9.9.1 | Tool Library Documentation

Decode Landsat Quality Assessment Bands


Description

This tool decodes Landsat Multispectral Scanner System (MSS), Thematic Mapper (TM), Enhanced Thematic Mapper Plus (ETM+), and Operational Land Imager/Thermal Infrared Sensor (OLI/TIRS) Quality Assessment (QA) bands. It splits these QA bands into individual bands and optionally aggregates them into a Grid Collection. It is also possible to select individual flags for output. Currently, the tool supports Pixel, Radiometric Saturation and Surface Reflectance Aerosol (only OLI/TIRS) Quality Assessment bands from Collection 2 (Level 1 and 2). It also provides value the possibility to create a mask with the combined classes cirrus cloud (only OLI/TIRS), cloud, cloud shadow, water and snow, in this ranking order.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPixel QA Bandgrid, input, optionalIN_QA_PIXEL"QA_PIXEL"-Suffix-
Radiometric Saturation QA Bandgrid, input, optionalIN_QA_RADSAT"QA_RADSAT"-Suffix-
SR Aerosol QA Bandgrid, input, optionalIN_SR_QA_AEROSOL"SR_QA_AEROSOL"-Suffix-
OutputOutputgrid list, outputOUTPUT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Spacecraft (Sensor)choiceSENSOR-Available Choices: [0] Landsat 1-5 (MSS) [1] Landsat 4-7 (TM & ETM+) [2] Landsat 8-9 (OLI/TIRS) Default: 2
Flag SelectionchoicesIN_QA_PIX_SELECTION-Available Choices:
Flag SelectionchoicesIN_QA_RADSAT_SELECTION-Available Choices:
Flag SelectionchoicesIN_SR_QA_AEROSOL_SELECTION-Available Choices:
Select individual BandsbooleanSELECTION-Default: 0
Output as Grid CollectionbooleanGRIDS-Default: 0
Classify Colors of InputbooleanSET_LUT-Default: 1
Create MaskbooleanMASK-Default: 0

Command Line


Usage: saga_cmd imagery_tools 23 [-SENSOR ] [-IN_QA_PIXEL ] [-IN_QA_RADSAT ] [-IN_SR_QA_AEROSOL ] [-IN_QA_PIX_SELECTION ] [-IN_QA_RADSAT_SELECTION ] [-IN_SR_QA_AEROSOL_SELECTION ] [-OUTPUT ] [-SELECTION ] [-GRIDS ] [-SET_LUT ] [-MASK ]
  -SENSOR:
                                      Spacecraft (Sensor)
                                      	choice
                                      	Available Choices:
                                      	[0] Landsat 1-5 (MSS)
                                      	[1] Landsat 4-7 (TM & ETM+)
                                      	[2] Landsat 8-9 (OLI/TIRS)
                                      	Default: 2
  -IN_QA_PIXEL:                  Pixel QA Band
	grid, input, optional
  -IN_QA_RADSAT:                 Radiometric Saturation QA Band
	grid, input, optional
  -IN_SR_QA_AEROSOL:             SR Aerosol QA Band
	grid, input, optional
  -IN_QA_PIX_SELECTION:          Flag Selection
	choices
	Available Choices:
  -IN_QA_RADSAT_SELECTION:       Flag Selection
	choices
	Available Choices:
  -IN_SR_QA_AEROSOL_SELECTION:   Flag Selection
	choices
	Available Choices:
  -OUTPUT:                       Output
	grid list, output
  -SELECTION:                    Select individual Bands
	boolean
	Default: 0
  -GRIDS:                        Output as Grid Collection
	boolean
	Default: 0
  -SET_LUT:                      Classify Colors of Input
	boolean
	Default: 1
  -MASK:                         Create Mask
	boolean
	Default: 0