我想使用特定模块进行时间序列中断检测(称为“ bfast”,请参见https://bfast.readthedocs.io/en/latest/index.html),该模块需要输入3D numpy数组。
问题是:“如何使Google Earth Engine ImageCollection格式适合bfast函数的参数?”
我对Google Earth Engine环境还很陌生,所以可能错过了一个显而易见的解决方案
基本上,我想使用Google Eath Engine API在Google Collab笔记本上运行它。
以下是我打算使用的bfast函数的要求:
fit(self, data, dates, n_chunks=None, nan_value=0)
| Fits the models for the ndarray 'data'
|
| Parameters
| ----------
| data: ndarray of shape (N, W, H),
| where N is the number of time
| series points per pixel and W
| and H the width and the height
| of the image, respectively.
| dates : list of datetime objects
| Specifies the dates of the elements
| in data indexed by the first axis
| n_chunks : int or None, default None
| nan_value : int, default 0
| Specified the NaN value used in
| the array data