当前位置:网站首页>Google Earth engine (GEE) - line chart of time series image combining VCI index and TCI temperature (Guatemala and El Salvador as examples)

Google Earth engine (GEE) - line chart of time series image combining VCI index and TCI temperature (Guatemala and El Salvador as examples)

2022-06-22 01:52:00 The star light blog in 2021 cloud computing top3

This experiment is applicable MODIS image MODIS/006/MOD13Q1 and MODIS/006/MOD11A2 Analyze the images and select NDVI Band and LST Band for time series analysis , Respectively check first NDVI The maximum and minimum values are normalized , And then calculate VCI, And then through LST Same calculation TCI, Then show the two separately :

Code :

//Add MODIS Vegetation Indices 16-Day Global 250m 

var Coll_NDVI = ee.ImageCollection("MODIS/006/MOD13Q1")//MODIS/006/MOD13A1
var Coll_LST = ee.ImageCollection("MODIS/006/MOD11A2")//MODIS/006/MOD11A1

var startYear = 2010;
var endYear = 2022;

var startDate = ee.Date.fromYMD(startYear, 1, 1);
var endDate = ee.Date.fromYMD(endYear, 12, 31);

Coll_NDVI = Coll_NDVI.filterDate(startDate, endDate).select("NDVI");
Coll_NDVI = ee.ImageCollection(ee.Algorithms.If(Coll_NDVI.size().eq(0),
      ee.ImageCollection(ee.Image(0).selfMask().rename('NDVI')),
      Coll_NDVI
    ));
Coll_LST = Coll_LST.filterDate(startDate, endDate).select("LST_Day_1km");
Coll_LST = ee.ImageCollection
原网站

版权声明
本文为[The star light blog in 2021 cloud computing top3]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220112256254.html