欢迎光临散文网 会员登陆 & 注册

Google Earth Engine 批量导出+插件

2023-03-10 20:27 作者:月落象限仪  | 我要投稿

批量导出image collection

参考的是大佬的文档 Chapter 24: Image Collection Export — Remote Sensing with Google Earth Engine (calekochenour.github.io),GitHub库在calekochenour/remote-sensing-textbook。阿B好像贴不了链接,可以直接根据标题去搜,大佬的教程写的很好

教程

需要import 代码

var batch = require('users/fitoprincipe/geetools:batch');

导出设置根据需求修改

// Set export folder (relative to Google Drive root folder)

var output_folder = 'gee-export';


// Export collection image to Drive

batch.Download.ImageCollection.toDrive(

  rmnp_collection, output_folder,

  {name: '{id}', // {id}, {system_date} and all other properties (e.g., {WRS_PATH})

    // dateFormat: 'yyyy-MM-dd', // Default

    scale: 30,

    maxPixels: 1e13,

    region: colorado_boundary, // rmnp_boundary,

    type: 'int16' // 'float', 'byte', 'int', 'double', 'long', 'short', 'int8',

                  // 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32'

  });

print("Completed script. Tasks are available to run.");

然后会出现大量需要自己点击的RUN

eg: 下GIMMS

可以使用插件,完成自动下载

插件使用的是chrome(edge可以从chrome迁移),名字叫做open earth engine extension

插件(chrome store)

添加以后code editor中的tasks里就会出现RUN ALL选项

点一下RUN ALL就完事


Google Earth Engine 批量导出+插件的评论 (共 条)

分享到微博请遵守国家法律