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&
相关文章
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
349 0
Google Earth Engine(GEE)——chart超限问题: Response size exceeds limit of 268435456 bytes.
|
10月前
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
102 0
|
10月前
|
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..
260 0
|
存储 人工智能
使用3dmax 9.0导入Illustrator 文件时提示"Line in file exceeds 255 characters"
在使用3dmax 9.0时,导入Illustrator文件时提示"Line in file exceeds 255 characters"(之前8.0也有同样的问题)引起这个问题的原因是Illustrator CS(V 11.0) 和 CS2(V 12.0) 存储 .ai 文件使用的是一种“不断行”的存储方式,也就是那一行存储的字符超过了255个字符。
1539 0
|
前端开发
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法
707 0
Google Earth Engine——Layer error: Description length exceeds maximum.解决办法
|
算法框架/工具 索引 Caffe
Faster RCNN 运行自己的数据,刚开始正常,后来就报错: Index exceeds matrix dimensions. Error in ori_demo (line 114) boxes_cell{i} = [boxes(:, (1+(i-1)*4):(i*4)), scores(
function script_faster_rcnn_demo() close all; clc; clear mex; clear is_valid_handle; % to clear init_key run(fullfile(filepart...
关于Visits, Visitors, Time on Page,www9992019com-Time18122221111 on site, Bounce Rate, Exit Rate, Conversion Rate, Engagement8个重要指标的梳理
Menu 行业动态 每周更新 技术杂谈 关于我们 网站数据分析八大指标 281171 关于网站分析的8个重要指标的梳理,包括Visits, Visitors, Time on Page, Time on site, Bounce Rate, Exit Rate, Conversion Rate, Engagement。
1730 0