DamienIrving/climate-analysis

Segmentation fault using cdo bindings in Anaconda

Closed this issue · 2 comments

I use the cdo python bindings in calc_climate_index.py. When try and extract values from the output numpy array using /usr/local/anaconda/bin/python I get a segmentation fault, however it works fine with /usr/local/uvcdat/1.3.0/bin/cdat.

I think the problem is that I installed cdo using pip. It has non-Python dependencies, so I'd be better off using Binstar: https://binstar.org/pingucarsti/cdo

conda install -c https://conda.binstar.org/pingucarsti cdo

Now that I'm using xray I no longer need to use cdo within Python