实验问题记录

11/20

一次性导出每年的EVImax?

已解决,写循环

Export Error: Pixel type not supported: Type. Convert the image to a floating point type or a smaller integer type, for example, using ee.Image.toDouble().

已解决,使用.select()选取要导出的波段即可

原因:导出波段格式不一致。
All bands must be of same pixelType - so cast to best fit before export.Ex: Cast image of bands [int16 and int32] to int32.

constant?

"X" is not defined in this scope?

A variable needs to be available in the current context of execution.
Variables defined inside a function cannot be accessed from anywhere outside the function, because the variable is defined only in the scope of the function.

最大NDVI像素合成qualitymosaic( )和Reducer.max( )结果是一样的吗?

两种方法的思路是一样的,但结果不一样。
Reducer.max( )得到的单一波段值,即最大NDVI值;
QualityMosaic( )得到的是最大NDVI值条件下相关通道的对应值,结果中与原数据的波段数目一致,可以得到最大NDVI条件下的彩色合成图。

把int16的EVI缩小10000倍,或反向转换:扩大10000倍,转为int型?

原文地址:https://www.cnblogs.com/wynnchen/p/11902317.html