DamienIrving / climate-analysis

Code used for the analysis and visualisation of climate data during my PhD
MIT License
40 stars 19 forks source link

Segmentation fault using cdo bindings in Anaconda #14

Closed DamienIrving closed 9 years ago

DamienIrving commented 9 years ago

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.

DamienIrving commented 9 years ago

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

DamienIrving commented 9 years ago

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