-
-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I got the following message when I call the igrf module. It looks like that the required files cannot be found and the search path is redirected to my home folder. Could you please help to check the problem?
import igrf
mag = igrf.igrf('2010-07-12', glat=65, glon=-148, alt_km=100)
Traceback (most recent call last):
File "", line 1, in
File "/home/lei/igrf/src/igrf/base.py", line 134, in igrf
ret = subprocess.run(cmd, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/home/lei/.conda/envs/eiscat_cdt/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/lei/.conda/envs/eiscat_cdt/lib/python3.10/subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/lei/.conda/envs/eiscat_cdt/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/lei/igrf/src/igrf/igrf13_driver'