Comments (5)
Thanks! I tested with the aacgmv2 v2.6.2 on Ubuntu and MacOS. No errors were found. I will close this issue.
from aacgmv2.
That error can only appear if something goes wrong in the C code. Although I am not familiar with IDEs, it suggests that the different IDEs are compiling the C code differently and are not always able to read each other's executables. When this error occurs are you switching between IDEs?
from aacgmv2.
The error usually occurs when I or other users run my package (https://github.com/JouleCai/geospacelab) initially using either PyCharm or VS Code. Actually, after I switch to Spyder and run the codes several times, the problem sometimes is solved. As you suggested, maybe Spyder compiles the C code correctly, and Pycharm/VS code follows the executables.
I have added a notice regarding this issue. Spyder seems a better IDE to compile the aacgmv2 package. Thank you for your comments.
from aacgmv2.
Hi,
Please let me describe the issue again: a runtime error would be returned from the function AACGM_v2_SetDateTime in the c library in aacgmv2
, when aacgmv2
is called from another package imported in the current package rather than from the current package itself. The issue might be associated with cython
, which should be installed before the installation of aacgmv2
. See also the discussion JouleCai/geospacelab#6.
from aacgmv2.
@JouleCai I wonder if the problem has been solved now that I fixed a memory leak in the aacgm.convert_latlon_arr
function. If you use the current develop branch can you make the problem appear?
from aacgmv2.
Related Issues (20)
- Convert LatLon returning NaN HOT 1
- Installation error HOT 3
- Active or remove unused code quality tools HOT 3
- Improve unit test coverage
- Testing Python 3.7+ on Windows x64 HOT 1
- Remove Python 2 support HOT 1
- Add a zenodo.json file HOT 2
- Convert LatLong from GEO to ACGM for year 2021 HOT 2
- More use examples HOT 10
- Environment variables error in Windows HOT 7
- Lists in docstrings are unintentionally merged by Sphinx into a paragraph.
- aacgmv2.convert_latlon_arr causes a memory leak HOT 2
- RunTime error while trying to convert geographic coordinates to geomagnetic HOT 2
- python crashes when running aacgmv HOT 1
- MAINT: remove deprecated functions
- ENH: vector transformation
- pip install aacgm2 (install fails) HOT 2
- How to use aacgmv2 beyond 2025 HOT 5
- >200x disparity in computation time between computers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aacgmv2.