SAGA 9.9.1 | Tool Library Documentation

Fmask Cloud and Cloud Shadow Detection


Description

This tool implements the Function of mask (Fmask) algorithm for cloud and cloud shadow detection in Landsat and Sentinel-2 imagery. Input is Top-of-Atmosphere (TAO) reflectance obtained from processing Level-1C (both programs).


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputBluegrid, inputBLUETM & ETM: Band 1; OLI/TIRS: Band 2; MSI: Band 2-
Greengrid, inputGREENTM & ETM: Band 2; OLI/TIRS: Band 3; MSI: Band 3-
Redgrid, inputREDTM & ETM: Band 3; OLI/TIRS: Band 4; MSI: Band 4-
Near Infraredgrid, inputNIRTM & ETM: Band 4; OLI/TIRS: Band 5; MSI: Band 8-
Shortwave Infrared 1grid, inputSWIR1TM & ETM: Band 5; OLI/TIRS: Band 6-
Shortwave Infrared 2grid, inputSWIR2TM & ETM: Band 7; OLI/TIRS: Band 7-
Cirrusgrid, inputCIRRUSOLI/TIRS: Band 9; MSI: Band 10-
Radiometric Saturation Greengrid, input, optionalQARAD_G--
Radiometric Saturation Redgrid, input, optionalQARAD_R--
Thermal Infrared 1grid, inputTHERMALTM & ETM: Band 6; OLI/TIRS: Band 10-
Shortwave Infrared 1grid, inputSWIR1_MSIMSI: Band 11-
Shortwave Infrared 2grid, inputSWIR2_MSIMSI: Band 12-
Cirrusgrid, inputCIRRUS_MSIMSI: Band 10-
OutputCloudsgrid, outputCLOUDS--
OptionsBandsgrid systemBANDS--
Bandsgrid systemVEGETATION--
Bandsgrid systemATMOSPHERE--
Thermalgrid systemTHERMAL_SYS--
UnitchoiceTHERMAL_UNIT-Available Choices: [0] Kelvin [1] Celsius Default: 0
Sensor (Spacecraft)choiceSENSOR-Available Choices: [0] TM (Landsat 4,5) [1] ETM+ (Landsat 7) [2] OLI/TIRS (Landsat 8,9) [3] MSI (Sentinel-2) Default: 2
AlgorithmchoiceALGORITHM-Available Choices: [0] Fmask 1.6 [1] Fmask 3.2 Default: 1
Dilation Distancefloating point numberDILATION-Minimum: 0.000000 Default: 240.000000
Sun's Azimuthfloating point numberSUN_AZIMUTHDirection of sun clockwise from North [degree].Minimum: 0.000000 Maximum: 360.000000 Default: 180.000000
Sun's Heightfloating point numberSUN_HEIGHTHeight of sun above horizon [degree].Minimum: 0.000000 Maximum: 90.000000 Default: 45.000000

Command Line


Usage: saga_cmd imagery_tools 26 [-BLUE ] [-GREEN ] [-RED ] [-NIR ] [-SWIR1 ] [-SWIR2 ] [-CIRRUS ] [-QARAD_G ] [-QARAD_R ] [-THERMAL ] [-SWIR1_MSI ] [-SWIR2_MSI ] [-CIRRUS_MSI ] [-THERMAL_UNIT ] [-CLOUDS ] [-SENSOR ] [-ALGORITHM ] [-DILATION ] [-SUN_AZIMUTH ] [-SUN_HEIGHT ]
  -BLUE:             Blue
	grid, input
  -GREEN:            Green
	grid, input
  -RED:              Red
	grid, input
  -NIR:              Near Infrared
	grid, input
  -SWIR1:            Shortwave Infrared 1
	grid, input
  -SWIR2:            Shortwave Infrared 2
	grid, input
  -CIRRUS:           Cirrus
	grid, input
  -QARAD_G:          Radiometric Saturation Green
	grid, input, optional
  -QARAD_R:          Radiometric Saturation Red
	grid, input, optional
  -THERMAL:          Thermal Infrared 1
	grid, input
  -SWIR1_MSI:        Shortwave Infrared 1
	grid, input
  -SWIR2_MSI:        Shortwave Infrared 2
	grid, input
  -CIRRUS_MSI:       Cirrus
	grid, input
  -THERMAL_UNIT:     Unit
	choice
	Available Choices:
	[0] Kelvin
	[1] Celsius
	Default: 0
  -CLOUDS:           Clouds
	grid, output
  -SENSOR:
                          Sensor (Spacecraft)
                          	choice
                          	Available Choices:
                          	[0] TM (Landsat 4,5)
                          	[1] ETM+ (Landsat 7)
                          	[2] OLI/TIRS (Landsat 8,9)
                          	[3] MSI (Sentinel-2)
                          	Default: 2
  -ALGORITHM:        Algorithm
	choice
	Available Choices:
	[0] Fmask 1.6
	[1] Fmask 3.2
	Default: 1
  -DILATION:      Dilation Distance
	floating point number
	Minimum: 0.000000
	Default: 240.000000
  -SUN_AZIMUTH:
                          Sun's Azimuth
                          	floating point number
                          	Minimum: 0.000000
                          	Maximum: 360.000000
                          	Default: 180.000000
  -SUN_HEIGHT:    Sun's Height
	floating point number
	Minimum: 0.000000
	Maximum: 90.000000
	Default: 45.000000