我运行的脚本正在将 2002 年到 2017 年的 GLDAS Netcdf 文件进行串联。但我收到了如下错误。
File "/usr/local/lib/python3.6/dist-packages/xarray/core/indexing.py", line 629, in _ensure_cached
self.array = NumpyIndexingAdapter(np.asarray(self.array))
File "/usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
File "/usr/local/lib/python3.6/dist-packages/xarray/core/indexing.py", line 610, in __array__
return np.asarray(self.array, dtype=dtype)
File "/usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
File "/usr/local/lib/python3.6/dist-packages/xarray/core/indexing.py", line 516, in __array__
return np.asarray(array[self.key], dtype=None)
File "/usr/local/lib/python3.6/dist-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
File "/usr/local/lib/python3.6/dist-packages/xarray/coding/variables.py", line 69, in __array__
return self.func(self.array)
File "/usr/local/lib/python3.6/dist-packages/xarray/coding/variables.py", line 140, in _apply_mask
return np.where(condition, decoded_fill_value, data)
MemoryError
你能告诉我这是什么原因造成的吗?
问候