本文的错误问题来源于,原始的地址连接
https://code.earthengine.google.com/84ac02e9ce98143e1dc716c238ff9fd2
很多时候我们再弯沉PCA主成分分析之后我们就会想用到分量进行分析,从而我们需要下载ndvi, lst, wet, ndbsi等波段,满足线下的需求,当然这里我们会发现下载过程中出现的问题,主要问题是我们原来使用的程序是封装在一个函数中,所以这里并没像常规的操作一样,这里我们需要将影像集合map完之后,获取到了一个list也就是影像列表,而不是一个影像集合,所以会出现错误,就如下面所提示的:
Error: Image.clipToBoundsAndScale, argument 'input': Invalid type. Expected type: Image<unknown bands>. Actual type: List<Image<[ndvi, lst, wet, ndbsi]>>. Actual value: [<Image<[ndvi, lst, wet, ndbsi]>>, <Image<[ndvi, lst, wet, ndbsi]>>, <Image<[ndvi, lst, wet, ndbsi]>>, <Image<[ndvi, lst, wet, ndbsi]>>, <Image<[ndvi, lst, wet, ndbs