Giter Club home page Giter Club logo

Comments (5)

JouleCai avatar JouleCai commented on September 17, 2024 1

Thanks! I tested with the aacgmv2 v2.6.2 on Ubuntu and MacOS. No errors were found. I will close this issue.

from aacgmv2.

aburrell avatar aburrell commented on September 17, 2024

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.

JouleCai avatar JouleCai commented on September 17, 2024

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.

JouleCai avatar JouleCai commented on September 17, 2024

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.

aburrell avatar aburrell commented on September 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.