Closed w2naf closed 8 years ago
Hi @w2naf,
Running MUSIC.ipynb breaks when the following commands are executed: _# We can use the image processing library in scikit-image to automatically find the peaks representing signals. pydarn.proc.music.detectSignals(dataObj) pydarn.plotting.musicPlot.plotKarr(dataObj)
ImportError: cannot import name findcontours
Also, some of the changes you made in geomag indices related files have been fixed in #256
@MuhammadVT, have you run ./debian_dependenicies.sh lately? I originally got an error at the same point, although a different error than you. However, I went back and re-ran the dependencies script and I'm getting passed that point. I do get a bunch of VisibleDeprciationWarning's though that look like:
/usr/local/lib/python2.7/dist-packages/davitpy-0.6-py2.7-linux-x86_64.egg/davitpy/pydarn/proc/music/music.py:2124: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
I also get some of these for the last cell's code pydarn.plotting.plotKarrDetected(dataObj)
Otherwise, this notebook does completely run for me.
as @ksterne has pointed out, it happened to be a local problem with older version of skimage. deleting it from dist-packages and pip install scikit-image fixes the problem. Running MUSIC, MUSIC-simulate and plotGMagIndices.ipynb notebooks all worked fine. Merging it....
This pull request fixes bugs:
This pull request will make the MUSIC and MUSIC-simulate notebooks work properly again.