GEE数据导出注意事项

GEE数据导出注意事项


一些设置:

  • region: roi.geometry().bounds()
  • crs: "EPSG:4326"
  • maxPixels: 1e13
var gldas = ee.ImageCollection("NASA/GLDAS/V021/NOAH/G025/T3H");  //数据选择
var fCol = ee.FeatureCollection("users/xxx/province");  
var sCol = fCol.filter(ee.Filter.eq("PINYIN_NAM", "Beijing")); //选出北京市边界矢量
var tem = gldas.filterDate("2018-3-1", "2018-4-1")  
              .select("Tair_f_inst")  
              .first();  
Export.image.toDrive({  
  image: tem.clip(sCol),  
  description: "xxx",  
  folder: "xxxx",   
  //fileNamePrefix: "xxxx",  //名字前缀
  region: sCol.geometry().bounds(), //设置范围  
  crs: "EPSG:4326", //设置投影方式  
  crsTransform: [0.25,0,-180,0,-0.25,90],  //0.25为分辨率
  maxPixels: 1e13 //设置最大像素值  
});  

将影像集合中的影像导出为视频

var l8 = ee.ImageCollection("LANDSAT/LC08/C01/T1_RT_TOA");  
var selectCol = l8.filterBounds(roi)  
                  .filterDate("2017-1-1", "2017-12-31");
var exportCol = selectCol.map(function(img) {  
  img = img.clip(roi);  
  return img.multiply(768).uint8();  //0~255
});  
print("image count is: ", exportCol.size());  
//导出指定区域的时间序列的rgb影像,帧率12,分辨率30,区域是roi区域  
Export.video.toDrive({  
  collection: exportCol.select(["B3", "B2", "B1"]),  
  description: "Drive-exportL8Video",  
  fileNamePrefix: "l8Video",  
  //folder: "xxx",  
  scale: 30,  
  framesPerSecond: 12,  
  region: roi  
});
posted @   icydengyw  阅读(1921)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 记一次.NET内存居高不下排查解决与启示
点击右上角即可分享
微信分享提示