Comments (7)
from aacgmv2.
Huh. This is very confusing. I agree that the compilation steps you made shouldn't be an issue. Short term we can put a note in the docs about this being a potential issue and how to solve it. I will try to think of another way to track down what's going on with the environment variables.
from aacgmv2.
Thanks! I will first check and see if I can reproduce this on my mac. That should help us see if it's OS specific or due to a change in the way the environment variables are set or accessed.
from aacgmv2.
Ok, can verify that I cannot reproduce this bug in OS X Sierra, python 3.7.9. I will poke around the internet and see if I can see why the environment variables aren't being set in your version of windows. It is working on AppVeyor with Visual Studio 2019.
from aacgmv2.
Quick question, what happens if you try each of these (in order)?
import aacgmv2
import os
os.getenv('IGRF_COEFFS')
If it's unknown on the system, it should return None.
os.environ['IGRF_COEFFS'] = 'desired path'
os.environ['AACGM_v2_DAT_PREFIX'] = 'desired path here'
print(os.getenv('IGRF_COEFFS'), os.getenv('AACGM_v2_DAT_PREFIX'))
If that works, what happens if you try that before importing aacgmv2 and then try your test code? It would basically be doing what init does manually. I am wondering if it's a problem with the os
module interface. The docs claim it should work on Windows, so I am curious to see what your system does.
from aacgmv2.
Side note: probably unrelated, in order to get it to compile I had to replace msvcr140
in anaconda3\envs\aacgm\Lib\distutils\cygwinccompiler.py
with vcruntime140
from aacgmv2.
Pycharm cannot be installed aacgmv2.At the same time, PIP cannot be installed.
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
- Lists in docstrings are unintentionally merged by Sphinx into a paragraph.
- RuntimeError when using the package HOT 5
- 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.