Script Library
BasicTemperatureAdvanced
Temperature Trend Analysis (Mann-Kendall)
Detect significant temperature trends using Mann-Kendall test.
Pipeline (1 steps)
- Detect significant temperature trends using Mann-Kendall test.
Datasets
- modis-lst-8day
Simulated previewPaste the script in Earth Engine for live results
Outputs the script produces
map Map layers
map Time series chart
map Export GeoTIFF
map Zonal stats table
// Temperature Trend (Mann-Kendall)
var collection = ee.ImageCollection('MODIS/061/MOD11A2')
.filterDate(startDate, endDate).filterBounds(aoi)
.select('LST_Day_1km').map(function(img){
return img.multiply(0.02).subtract(273.15)
.set('system:time_start', img.get('system:time_start'));
});
var trend = collection.reduce(ee.Reducer.sensSlope());
var result = trend.select('slope').clip(aoi);# Temperature Trend (Mann-Kendall)
import ee
collection = (ee.ImageCollection('MODIS/061/MOD11A2')
.filterDate(start_date, end_date).filterBounds(aoi)
.select('LST_Day_1km'))
trend = collection.reduce(ee.Reducer.sensSlope())
result = trend.select('slope').clip(aoi)