GeoscienceAustralia / dea-notebooks

Repository for Digital Earth Australia Jupyter Notebooks: tools and workflows for geospatial analysis with Open Data Cube and Xarray
https://docs.dea.ga.gov.au/notebooks/
Apache License 2.0
430 stars 126 forks source link

Interactive_phenology_plot_tagged concatenate issue #209

Closed zxh547 closed 5 years ago

zxh547 commented 5 years ago

"nbar_clean = xr.concat(sensor_clean.values(),dim='time')" returns the following error:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

It is possible due to the use of a different version of xarray module.

robbibt commented 5 years ago

Hi @zxh547! This is a bug in the latest dea module... for now, you need to do module load dea/20180515 instead of module load dea when you first launch the notebook

robbibt commented 5 years ago

This issue no longer occurs in latest version of dea