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&
相关文章
|
3月前
|
机器学习/深度学习
GEE土地分类——Property ‘B1‘ of feature ‘LE07_066018_20220603‘ is missing.错误
GEE土地分类——Property ‘B1‘ of feature ‘LE07_066018_20220603‘ is missing.错误
39 0
|
3月前
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
32 0
|
7月前
|
存储 运维 Linux
【MinIO异常】Storage reached its minimum free drive threshold 的解决方案
【MinIO异常】Storage reached its minimum free drive threshold 的解决方案
212 0
|
7月前
|
算法 C# C++
HALCON error #1201: Wrong type of control parameter: 1 in operator threshold
HALCON error #1201: Wrong type of control parameter: 1 in operator threshold
|
3月前
|
Swift iOS开发 MacOS
解决新版xcode下swift .infinity报Invalid frame dimension (negative or non-finite)错误
解决新版xcode下swift .infinity报Invalid frame dimension (negative or non-finite)错误
|
3月前
|
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..
32 0
|
7月前
paraformer支持设置 speech_noise_threshold 这个参数吗 ?
请问:speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch 这个模型支持设置 speech_noise_threshold 这个参数吗 ? vad 本身是支持的,但对这个集成的模型好像不起作用? 如果支持,应该如何正确地设置呢 ? 如果不支持,那该模型有没有什么方法可以过滤掉背景噪声? 经常会有背景噪声被识别出文字
33 0
|
前端开发 Java 关系型数据库
记录:The field files exceeds its maximum permitted size of 1048576 bytes...【亲测有效】
记录:The field files exceeds its maximum permitted size of 1048576 bytes...【亲测有效】
1046 0
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
257 0
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
|
前端开发
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法
586 0
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法