function controlPanel1(){
var Title = ui.Label({value: 'LST',style: {fontWeight: 'bold', fontSize: '30px'}});
var Year_selector = ui.Select({
items: [
{label: '2010', value: 2010},
{label: '2011', value: 2011},
{label: '2012', value: 2012},
{label: '2013', value: 2013},
{label: '2014', value: 2014},
{label: '2015', value: 2015},
{label: '2016', value: 2016},
{label: '2017', value: 2017},
{label: '2018', value: 2018},
{label: '2019', value: 2019},
{label: '2020', value: 2020},
{label: '2021', value: 2021},
],style:{width: '200px'}
}).setPlaceholder('Select year...');
var runButton = ui.Button({label: 'Run', style: {width: '200px'}});
runButton.onClick(function (){
var start_date = Year_selector.getValue() + '-01-01';
var end_date = Year_selector.getValue() + '-12-31';
var modis1 = ee.ImageCollection("MODIS/061/MOD11A2")
.filterBounds(roi1)
.filterDate(start_date, end_date)
.select('LST_Day_1km')
.mean();
modis1 = modis1.clip(roi1);
//刻度为开尔文并转换为摄氏度
var modLSTc1 = modis1.multiply(0.02).subtract(273.15)
var LSTParams = {min: 0, max: 40, palette: ['blue', 'limegreen', 'yellow', 'darkorange', 'red']};