zoukankan      html  css  js  c++  java
  • 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  
    });
    
  • 相关阅读:
    C# 代理与事件上(delegate)
    串口编程(SerialPort类)
    java提取QQ邮箱中的邮箱地址
    javascript 调用onclick动作的几种方式。
    python的一些扩展模块,关于Reserving的....
    [ZZ]硬件虚拟化漫谈
    Intel VTx 技术手册 目录
    VTx技术手册杂记
    关于磁盘分析的一些资料
    ReactOS下的Sysutils目录.
  • 原文地址:https://www.cnblogs.com/icydengyw/p/15200593.html
Copyright © 2011-2022 走看看