美文网首页生态遥感的学习笔记
GEE提取感兴趣区的时间序列

GEE提取感兴趣区的时间序列

作者: 荔枝猪 | 来源:发表于2020-04-23 20:57 被阅读0次

案例一:提取一个点的FPAR时间序列

// define a region of interst as a buffer around a point
var study = ee.Geometry.Point(116.667,43.53).buffer(1000);
// show region of interst
Map.centerObject(study,4);
Map.addLayer(study,{},'study');
// load MODIS image
var image = ee.ImageCollection('MODIS/006/MOD15A2H')
    .filterDate('2002-01-01', '2010-12-31')
    .filterBounds(study)
    .select('Fpar_500m');
// create the chart
var chart = ui.Chart.image.series({
  imageCollection: image, 
  region: study, 
  reducer: ee.Reducer.mean(),
  scale: 1000
});
// print the chart
print(chart);

案例二:提取数个点的GPP

// define a region of interst as a buffer around a point
var YY = ee.Feature( ee.Geometry.Point(112.93, 29.53).buffer(1000), {label: 'YY'});
var AQ = ee.Feature( ee.Geometry.Point(116.98, 30.48).buffer(1000), {label: 'AQ'});
var study = new ee.FeatureCollection([YY,AQ]);
// show region of interste
Map.centerObject(study,4);
Map.addLayer(study,{},'study');
// load MODIS data 
var collection = ee.ImageCollection('MODIS/006/MOD17A2H')
    .filterDate('2002-01-01', '2010-12-31')
    .filterBounds(study)
    .map(calculat);
// calculate     
function calculat(image) { 
           var cal = image.expression(
          'band*0.1',                //formula 
         {
           band: image.select('Gpp'),   
          });
          return ee.Image(cal.copyProperties(image)).set('system:time_start', image.get('system:time_start'));   
          }
// create the time series chart
var chart = ui.Chart.image.seriesByRegion({
  imageCollection: collection, 
  regions: study, 
  reducer: ee.Reducer.mean(),
  scale: 1000,
  seriesProperty:'label'})
  .setOptions({
    title:'GPP over time in flux station',
    vAxis:{title:'GPP'},
    lineWidth:1,
    });
// print the chart
print(chart);
单击右上角即可进入下载页面

参考资料

GEE知乎专栏
GEE学习资料
提取时间序列数据

相关文章

  • GEE提取感兴趣区的时间序列

    案例一:提取一个点的FPAR时间序列 案例二:提取数个点的GPP 参考资料 GEE知乎专栏GEE学习资料提取时间序列数据

  • OPencv掩膜操作

    掩膜操作作用 1.提取感兴趣区,用预先制作的感兴趣区掩模与待处理图像相乘,得到感兴趣区图像,感兴趣区内图像值保持不...

  • 人员信息提取其实很简单

    1:提取序列数字中连续数字 mid(原始序列,开始提取位置,提取序列长度) 美化一下提取后的信息 =TEXT(H2...

  • GEE学习笔记 一

    初识GEE GEE简介GEE应用范围GEE优缺点GEE初识 1.GEE是什么? GEE(全称Google Eart...

  • 基因序列常用操作

    提取指定区域基因组序列 单个序列,samtools faidx 提取:samtools faidx referen...

  • GFF文件和基因组文件提取mRNA,cds,protein序列

    首先是用gffread提取cds序列,蛋白序列,转录本序列 接下来我们利用组合工具来提取mRNA,和gene序列 ...

  • GEE缓冲区

    要素缓冲区功能实现 主要功能 对指定要素执行缓冲区分析。获取旧金山BART点位置,做2KM缓冲区,显示结果。 代码...

  • GEE学习笔记 零

    GEE初识 GEE示例以及学习资源介绍 GEE工作台介绍 GEE资源查找 GEE资源上传 GEE资源导出 GEE控...

  • Multi-Scale Convolutional Neural

    keywords: 时间序列处理; 深度学习; keras 针对现有时间序列分类方法的特征提取与分类过程分离,且无...

  • Multi-Scale Convolutional Neural

    keywords: 时间序列处理; 深度学习; keras 针对现有时间序列分类方法的特征提取与分类过程分离,且无...

网友评论

    本文标题:GEE提取感兴趣区的时间序列

    本文链接:https://www.haomeiwen.com/subject/sinuihtx.html