GEE错误——超限问题解决Export too large: specified 375255165 pixels (max: 100000000)

简介: GEE错误——超限问题解决Export too large: specified 375255165 pixels (max: 100000000)

超限错误一

L8B3_1323s3_med_luangwa00

ID: SPB5VCOWUJU2TUPI4PXXSKMX

Phase: Failed

Runtime: 27s (started 2024-01-28 15:50:11 +0800)

Attempted 1 time

Error: Export too large: specified 375255165 pixels (max: 100000000). Specify higher maxPixels value if you intend to export a large area. (Error code: 3)

 

原始代码:

// TERRAIN CORRECTION
var scale = 300;
var dem = ee.Image("USGS/SRTMGL1_003");
var terrainCorrection = function(collection) {
 
  collection = collection.map(illuminationCondition);
  collection = collection.map(illuminationCorrection);
  return(collection);
  // Function to calculate illumination condition (IC). Function by Patrick Burns and Matt Macander
  function illuminationCondition(img){
    // Extract image metadata about solar position
    var SZ_rad = ee.Image.constant(ee.Number(img.get('SUN_ELEVATION'))).multiply(-1).add(90).multiply(3.14159265359).divide(180).clip(img.geometry().buffer(10000));
    var SA_rad = ee.Image.constant(ee.Number(img.get('SUN_AZIMUTH')).multiply(3.14159265359).divide(180)).clip(img.geometry().buffer(10000));
    // Creat terrain layers
    var slp = ee.Terrain.slope(dem).clip(img.geometry().buffer(10000));
    var slp_rad = ee.Terrain.slope(dem).multiply(3.14159265359).divide(180).clip(img.geometry().buffer(10000));
    var asp_rad = ee.Terrain.aspect(dem).multiply(3.14159265359).divide(180).clip(img.geometry().buffer(10000));
    // Calculate the Illumination Condition (IC)
    // slope part of the illumination condition
    var cosZ = SZ_rad.cos();
    var cosS = slp_rad.cos();
    var slope_illumination = cosS.expression("cosZ * cosS", 
                                            {'cosZ': cosZ,
                                             'cosS': cosS.select('slope')});
    // aspect part of the illumination condition
    var sinZ = SZ_rad.sin();
    var sinS = slp_rad.sin();
    var cosAziDiff = (SA_rad.subtract(asp_rad)).cos();
    var aspect_illumination = sinZ.expression("sinZ * sinS * cosAziDiff",
                                             {'sinZ': sinZ,
                                              'sinS': sinS,
                                              'cosAziDiff': cosAziDiff});
    // full illumination condition (IC)
    var ic = slope_illumination.add(aspect_illumination);
    // Add IC to original image
    var img_plus_ic = ee.Image(img.addBands(ic.rename('IC')).addBands(cosZ.rename('cosZ')).addBands(cosS.rename('cosS&
相关文章
|
8月前
Maximum call stack size exceeded报错的原因及解决办法
Maximum call stack size exceeded报错的原因及解决办法
2155 0
|
8月前
GEE错误——Layer error: Image.connectedPixelCount: Segment size calculation on floating point bands is n
GEE错误——Layer error: Image.connectedPixelCount: Segment size calculation on floating point bands is n
91 0
|
8月前
【Simulink】报错:Size mismatch (size [2 x 1] ~= size [1 x 1]). The size to the left is the size of the l
【Simulink】报错:Size mismatch (size [2 x 1] ~= size [1 x 1]). The size to the left is the size of the l
|
8月前
|
编解码
Google Earth Engine(GEE)——监督分类出现ConfusionMatrix (Error) User memory limit exceeded.解决方案
Google Earth Engine(GEE)——监督分类出现ConfusionMatrix (Error) User memory limit exceeded.解决方案
251 0
|
7月前
|
区块链
max code size exceeded
max code size exceeded
80 6
|
7月前
|
消息中间件 监控 Serverless
函数计算操作报错合集之显示报错:RecursionError: maximum recursion depth exceeded while calling a Python object,该如何解决
在使用函数计算服务(如阿里云函数计算)时,用户可能会遇到多种错误场景。以下是一些常见的操作报错及其可能的原因和解决方法,包括但不限于:1. 函数部署失败、2. 函数执行超时、3. 资源不足错误、4. 权限与访问错误、5. 依赖问题、6. 网络配置错误、7. 触发器配置错误、8. 日志与监控问题。
190 0
|
8月前
|
Python
GEE—关于RSEI生态遥感指数中出现的问题 Layer error: Image.rename: The number of names (1) must match the number of..
GEE—关于RSEI生态遥感指数中出现的问题 Layer error: Image.rename: The number of names (1) must match the number of..
229 0
paraformer支持设置 speech_noise_threshold 这个参数吗 ?
请问:speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch 这个模型支持设置 speech_noise_threshold 这个参数吗 ? vad 本身是支持的,但对这个集成的模型好像不起作用? 如果支持,应该如何正确地设置呢 ? 如果不支持,那该模型有没有什么方法可以过滤掉背景噪声? 经常会有背景噪声被识别出文字
72 0
|
Java Spring
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
815 0
|
索引
Result window is too large, from + size must be less than or equal to: [10000]
Result window is too large, from + size must be less than or equal to: [10000]
263 0