You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I am a bit confused about configuring environment variable paths because I am new to this area and not very clear on the relevant definitions. I have set the paths as follows:
However, it still seems to result in errors, as shown below:
Warning: $OMEGA_BIN_PATH not defined, set to '/data2/opt/geomeg/data/product/' by default.
Warning: $OMEGA_PY_PATH not defined, set to '/data/mex-omegj/data1/omega_python/omegapy/' by default.
Could you please guide me on how to correctly set the file paths? I look forward to your reply!
The text was updated successfully, but these errors were encountered:
It looks like you are working on Windows, so as explained here on the documentation you need use the od.set_omega_bin_path() and od.set_omega_py_path() functions because it cannot use environment variables so you have to do it locally in your code. Which means you'll always see this warning when loading the module at the first time, then you can set it to whatever you want.
If you want to check further in your code that you are actually using the good paths, you can do it with the od.get_omega_bin_path() and od.get_omega_py_path() functions which will return you the content of the variables in you python env.
Also, I'm very surprised by the paths you mentioned above:
These are supposed to point to folders in your working directory, where you are going to store OMEGA data, not inside your Anaconda Python installation.
OMEGA_BIN_PATH: folder where are located the raw OMEGA data (.QUB and .NAV files) as downloaded from the PSA
OMEGA_PY_PATH: folder where OMEGA-Py will save the OMEGAdata files if you want to save/load OMEGA-Py-processed data.
Hello,I am a bit confused about configuring environment variable paths because I am new to this area and not very clear on the relevant definitions. I have set the paths as follows:
OMEGA_BIN_PATH="D:\anaconda\envs\omega\Library\bin"
OMEGA_PY_PATH=D:\anaconda\envs\omega\Lib\site-packages\omegapy
However, it still seems to result in errors, as shown below:
Warning: $OMEGA_BIN_PATH not defined, set to '/data2/opt/geomeg/data/product/' by default.
Warning: $OMEGA_PY_PATH not defined, set to '/data/mex-omegj/data1/omega_python/omegapy/' by default.
Could you please guide me on how to correctly set the file paths? I look forward to your reply!
The text was updated successfully, but these errors were encountered: