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)——计算LST地表温度的出现的错误
Google Earth Engine(GEE)——计算LST地表温度的出现的错误
425 0
|
数据可视化 定位技术 Sentinel
如何用Google Earth Engine快速、大量下载遥感影像数据?
【2月更文挑战第9天】本文介绍在谷歌地球引擎(Google Earth Engine,GEE)中,批量下载指定时间范围、空间范围的遥感影像数据(包括Landsat、Sentinel等)的方法~
5428 1
如何用Google Earth Engine快速、大量下载遥感影像数据?
|
Kubernetes 容器
Kubernetes部署Dashboard(WEB UI管理界面)
Kubernetes部署Dashboard(WEB UI管理界面)
Kubernetes部署Dashboard(WEB UI管理界面)
GEE:如何批量处理并下载指定时间范围的月尺度NDVI数据集(MOD09GA为例)
GEE:如何批量处理并下载指定时间范围的月尺度NDVI数据集(MOD09GA为例)
1257 0
Google Earth Engine(GEE)——利用归一化建筑指数NDBI(不透水层)提取建筑物
Google Earth Engine(GEE)——利用归一化建筑指数NDBI(不透水层)提取建筑物
3461 0
Google Earth Engine(GEE)——利用归一化建筑指数NDBI(不透水层)提取建筑物
ArcMAP对遥感影像进行波段提取的3种方法
ArcMAP对遥感影像进行波段提取的3种方法
4578 0
|
存储 算法 Linux
数据恢复软件恢复的数据打不开的原因与解决方法
数据恢复软件恢复的数据打不开的原因与解决方法
2647 10
|
存储 编解码 数据可视化
Google Earth Engine获取随机抽样点并均匀分布在栅格的不同数值区中
【2月更文挑战第14天】本文介绍在谷歌地球引擎(Google Earth Engine,GEE)中,按照给定的地表分类数据,对每一种不同的地物类型,分别加以全球范围内随机抽样点自动批量选取的方法~
1308 1
Google Earth Engine获取随机抽样点并均匀分布在栅格的不同数值区中
|
数据采集 算法 数据可视化
python实现时序平滑算法SG滤波器
python实现时序平滑算法SG滤波器

热门文章

最新文章