Google Earth Engine ——如何让去云后的sentinel影像依然具有影像属性

本教程的案例主要解决我们再进行function函数处理完成后,影像会丢失原有的属性。本次我们使用的是sentinel-2数据集,此处的函数时去云函数。

问题:

我是 GEE 平台的新手,我正在执行 sentinel 2 图像集的功能遮罩,并且在添加打印数据以查看元数据云覆盖时总是出错。我想知道为云层拍摄的图像集。但始终显示的是波段图像而不是日期云。

请你帮助我并确认我做错了什么。谢谢你的帮助!!

原始代码:

var AOI = 
    /* color: #d63000 */
    /* displayProperties: [
      {
        "type": "rectangle"
      }
    ] */
    ee.Geometry.Polygon(
        [[[114.91370459315428, -3.519343796715037],
          [114.91370459315428, -3.544016090274636],
          [114.94391699549803, -3.544016090274636],
          [114.94391699549803, -3.519343796715037]]], null, false);

/**
 * Function to mask clouds using the Sentinel-2 QA band
 * @param {ee.Image} image Sentinel-2 image
 * @return {ee.Image} cloud masked Sentinel-2 image
 */
function maskS2clouds(image) {
  var qa = image.select('QA60');

  // Bits 10 and 11 are clo

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/127401688