Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Thermal Visualization and Water In Wetlands Script

//VERSION=3

// Detecting the Presence of Water in Wetlands and Thermal Visualization with Landsat-8

//Variable Initialization

const blue_red = [
  [223, 0x003d99],
  [253, 0x2e82ff],  
  [263, 0x80b3ff],
  [272, 0xe0edff],
  [273, 0xffffff],
  [274, 0xfefce7],
  [283, 0xFDE191],
  [293, 0xf69855],
  [303, 0xec6927],
  [323, 0xaa2d1d],
  [363, 0x650401],
  [373, 0x3d0200],
];

const viz = new ColorRampVisualizer(blue_red);

function setup() 
{
  return {
    input: [

//Data Fusion
//Declaration of the two Landsat 8-9 L1

	{datasource: "L1", 
		bands: ["B10"]},

    	{datasource: "L2",  
		bands: ["B02","B03","B04","B05","B07"]}
        ],

    output: { bands: 3}
	}
}

function evaluatePixel(samples)
 {
  let val = samples.L1[0]
  var L82 = samples.L2[0]

// General formula: IF B05<0.1735 AND B07<0.1035 THEN Water ELSE NoWater
// return a blue color when surface water is detected, and thermal visualization based on band 10 when no water is detected
  
return (L82.B05<0.1735&&L82.B07<0.1035)?[51/255,68/255,170/255]:[L82.B04*5,viz.process(val),viz.process(val)]; 

}

Evaluate and visualize

General description of the script

This script uses data fusion to combine both, the temperature of the surface and the humidity of the wetlands in a single script. Landsat 8-9 OLI-TIRS Collection 2 Level 1 Data was used. The aim is to prevent and be able to carry out the necessary tasks to minimize natural disasters and protect the wetlands.

Thermal Visualization Script:

This heat shield is based on Level 1 band 10. At the central wavelength of 10895nm, it measures in the thermal infrared or TIR. Instead of measuring the temperature of the air, as weather stations do, band 10 reports on the ground, which is usually much hotter. Thermal band 10 is useful for providing surface temperatures and is collected at 100 meter resolution.[5]

Water In Wetlands Script:

Wetlands are areas that remain in flooded conditions or with soil saturated with water for considerable periods of time. These dynamic and productive ecosystems are home to an important part of the world’s biodiversity and contribute to reducing the level of atmospheric greenhouse gases that fuel global warming. In addition, they prevent soil erosion and flooding damage by dispersing and absorbing excess water. Extent of wetlands is estimated to have declined rapidly, with losses of 35% since 1970 due to agricultural and urban development. [7]

WIW is a remote sensing tool for monitoring water in wetlands. One of the main challenges is to detect the water under the vegetation cover. Wetlands are usually characterized by the presence of emergent plants of variable height and density. The reflectance values of the corresponding pixels of the optical spectral bands of the Landsat sensors were used as reference. The overall accuracy of the water maps constructed using the WIW ranged from 89% to 94% for both the training and validation samples. Landsat 8: WIW = NIR = 0.1735 and SWIR2 = 0.1035 [6]

Descriptions of representative images

In the midst of an unprecedented heat wave and ongoing drought, northeastern Argentina suffered a series of forest fires in nature reserves and fields. In mid-January 2022, sweltering heat gripped central South America and temperatures soared to more than 40°C (104°F). At the time, Argentina was the hottest place on the planet.[2]

The images acquired by the Operational Land Imager-2 (OLI-2) on Landsat 9 on February 16, 2022, show the scorched fields and heavy smoke from the multiple wildfires still burning near Iberá National Park.[1]

Figura 0

La Niña coupling of the atmosphere and the ocean alters global atmospheric circulation and can cause shifts in the path of mid-latitude jet streams in ways that intensify rainfall in some regions and bring drought to others.[3] Corrientes, which normally averages 162 millimeters (6.5 inches) of rain during February, has received less than 20 millimeters (1 inch) so far, according to the National Meteorological Service (SMN).[1]

Since the fires began in December, more than 520,000 hectares (1.3 million acres) have burned, killing wildlife and livestock, decimating pasturelands, and destroying crops such as yerba mate and rice. [1] On February 7, 2022, Corrientes was declared a state of emergency and an agricultural disaster.

In the next figure we can observe different critical points in detail. On February 16, 2022, points 1, 2 and 3 were the main sources of fire. Script A indicates temperature and humidity of the wetlands, where the darker the red color, the higher the temperature. Script C is a temperature impact analysis reference. This indicates higher temperature with white color. [4]

aFig2_16-2-22

Point 4 and 5 are critical fire points. In the analysis of the area marked by point 6, it is possible see that on February 8, 2022 the temperature on the surface was high and if we compare the humidity of the area with the previous scripts on February 16, there is a drought mark causing additional forest fire outbreaks.

aFig1_8-2-22

In addition, Timelapse of the area analyzed from November 2021 to March 2022 is observed below (weekly interval), where it can be seen how the humidity of the wetlands and the temperature on the surface vary.

AWS_LOTL1-500618976762302-timelapse

Author of the script

  • Barbara de los Angeles Ortiz

References