//LandsatLSTretrieval(satlliteNumber,LacquiredDate, Lpath,Lrow, LSTresolution);
//input parameters description
//satlliteNumber: The code name of Landsat satellite
// Landsat 8: 'L8'
// Landsat 7: 'L7'
// Landsat 5: 'L5'
// Landsat 4: 'L4'
//LacquiredDate: Acquisition date of Landsat image (formate: ee.Date).
//Lpath: The WRS orbital path number (001 - 251).
//Lrow: Landsat satellite WRS row (001-248).
//LSTresolution: The resolution of output LST image (unite: meter).
//output
// return the Landsat LST image (unite: K).
var LandsatPSCLST=require('users/lh000221/data:six')
var PSCLSTimagebut=LandsatPSCLST.LandsatLSTretrieval('L5', ee.Date.fromYMD(2004,8,30), 124,32, 30)
var PSCLSTimageup=LandsatPSCLST.LandsatLSTretrieval('L5', ee.Date.fromYMD(2004,9,8), 123,32, 30)
var PSCLSTimagedown=LandsatPSCLST.LandsatLSTretrieval('L5', ee.Date.fromYMD(2004,9,8), 123,33, 30);
var lst = ee.ImageCollection([PSCLSTimagebut,PSCLSTimageup,PSCLSTimagedown])
var PSCLSTimage = lst.mosaic().clip(roi)
print(PSCLSTimage)
Map.centerObject(PSCLSTimage,9)
// Display the LST image.
if (PSCLSTimage)
{
Map.centerObject(PSCLSTimage,9);
var LSTParams = {min: 290 , max: 320, palette: ['blue', 'yellow','red']};
Map.addLayer(PSCLSTimage, LSTParams, 'LST');
}
Export.image.toDrive({
image:PSCLSTimage,
region:roi,
maxPixels:1e13
})
【Google earth engine】LST反演框架调用代码
最新推荐文章于 2024-03-27 10:55:23 发布