ancklo / ChaosMagPy

ChaosMagPy is a simple Python package for evaluating the CHAOS geomagnetic field model and other models of Earth's magnetic field.
Other
23 stars 3 forks source link

Bug in model_utils.degree_correlation #2

Closed smithara closed 5 years ago

smithara commented 5 years ago

https://github.com/ancklo/ChaosMagPy/blob/3e2375376571058b59f2ef4c8f41285ef1499ebd/chaosmagpy/model_utils.py#L735

Two minor things that prevent it from running:

Btw, thanks for providing the library, it's been useful to me :)

ancklo commented 5 years ago

Thanks for pointing this out, you're completely right :) I implemented the suggested changes. You can get an updated version from PyPI now.

I'm happy to hear that it's useful. Please let me know if you encounter more bugs, feedback is very welcome :D