基于MODIS影像单点缓冲区长时序温度时序变化和线性趋势分析,可以用来研究某一地区的温度变化趋势。通过对该地区多年的温度数据进行分析,可以了解该地区的气候变化情况。这里我们主要是利用几个函数绘制图表。
函数:
ee.Reducer.linearRegression(numX, numY)
Creates a reducer that computes a linear least squares regression with numX independent variables and numY dependent variables.
Each input tuple will have values for the independent variables followed by the dependent variables.
The first output is a coefficients array with dimensions (numX, numY); each column contains the coefficients for the corresponding dependent variable. The second output is a vector of the root mean square of the residuals of each dependent variable. Both outputs are null if the system is underdetermined, e.g. the number of inputs is less than or equal to numX.
创建一个还原器,计算具有numX自变量和numY因变量的线性最小二乘回归。
每个输入元组都有自变量的值,然后是因变量。
第一个输出是一个系数数组,尺寸为(numX, numY);每一列包含相应因变量的系数。第二个输出是每个因变量的残差均方根的向量。如果系统是欠定的,例如,输入的数量小于或等于numX,则这两个输出都是空的。
Arguments:
numX (Integer):
The number of input dimensions.
numY (Integer, default: 1):
The number of output dimensions.
Returns: Reducer
ui.Chart.image.series(imageCollection, region, reducer, scale, xProperty)
Generates a Chart from an ImageCollection. Plots derived values of each band in a region across images. Usually a time series.
-
X-axis: Image, labeled by xProperty value.
-
Y-axis: Band val