Python 如何使用;“以numpy为基础”;Google EarthEngine ImageCollection上的函数?
我想使用一个特定的模块进行时间序列中断检测(称为“bfast”,请参阅),它需要一个3D numpy数组作为输入 问题是:“如何使Google Earth引擎的ImageCollection格式适合bfast函数的参数?” 我对Google Earth引擎环境非常陌生,所以可能a错过了一个明显的解决方案 基本上,我想让它运行在谷歌协作笔记本上使用谷歌Eath引擎API 以下是我打算使用的bfast函数的要求:Python 如何使用;“以numpy为基础”;Google EarthEngine ImageCollection上的函数?,python,google-colaboratory,google-earth-engine,Python,Google Colaboratory,Google Earth Engine,我想使用一个特定的模块进行时间序列中断检测(称为“bfast”,请参阅),它需要一个3D numpy数组作为输入 问题是:“如何使Google Earth引擎的ImageCollection格式适合bfast函数的参数?” 我对Google Earth引擎环境非常陌生,所以可能a错过了一个明显的解决方案 基本上,我想让它运行在谷歌协作笔记本上使用谷歌Eath引擎API 以下是我打算使用的bfast函数的要求: fit(self, data, dates, n_chunks=None, nan_v
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
地球引擎不能使用Numpy函数。请看这篇文章。但是,您可以在EE上实现bfast算法,这可能需要一些有趣的编码。或者,您可以实现EE中已经提供的,
EE.Algorithms.TemporalSegmentation.Ccdc()
您不能在Earth Engine中使用Numpy函数。请看这篇文章。但是,您可以在EE上实现bfast算法,这可能需要一些有趣的编码。或者,您可以实现EE中已经提供的,EE.Algorithms.TemporalSegmentation.Ccdc()