the ipython notebook for pigs from space is f**cked. I have converted it to a .py script and edited it in readyness for deployment to the nectar cloud.