geomagpy / magpy

MagPy (or GeomagPy) is a Python package for analysing and displaying geomagnetic data.
BSD 3-Clause "New" or "Revised" License
45 stars 27 forks source link

DIAnalysis doesn't work when you have only one dataset #124

Closed stephanbracke closed 1 year ago

stephanbracke commented 1 year ago

When only one dataset is loaded the analysis will not work. You need at least two datasets before the analysis can occur. Test was done when loading only example6a.txt

leonro commented 1 year ago

This issue was related to an error within the key identification routine which was not returning anything when only a single line of DI data is investigated. Issue is solved by commit 74b537a6e36b47d2647cb31e3730cabaf040376c. Version 1.1.3 will contain this correction