GEE | Error: Export too large: specified *** pixels (max: ***).Specify higher maxPixels value ...

老问题了,这里做个记录

报错信息:

Error: Export too large: specified 80301082752 pixels (max: 10000000000). Specify higher maxPixels value if you intend to export a large area.

问题分析:
python下的报错代码

task = ee.batch.Export.image.toDrive(
    image = image,
    description = out_image_base,
    folder = FOLDER,
    fileNamePrefix = out_image_base,
    scale = 100,
    fileFormat = 'TFRecord',
    maxPixels = 1e10,
    crs ='EPSG:4326',
    formatOptions = {
      'patchDimensions': KERNEL_SHAPE,
      'kernelSize': kernel_buffer,
      'compressed': True,
      'maxFileSize': 314572800 
    }
  )

就是这里的maxPixels可以更大(注意不是maxFileSize!),一般最大可以到1e13,其实平时默认设置到1e13即可

解决方案:
maxPixels = 1e10,换成maxPixels = 1e13,即可

P.S. 如果还有更大的,可能需要将roi适当调整了(遇到再更新,应该不久就遇到了,祈祷)

  • 5
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值