Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MSIS 2.1 info not found when running model.setup #25

Open
mattzett opened this issue Aug 23, 2024 · 2 comments
Open

[Bug]: MSIS 2.1 info not found when running model.setup #25

mattzett opened this issue Aug 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mattzett
Copy link
Member

What happened?

gemini3d.model.setup("./config.nml","~/simulations/ssd/NM_20240508/")
Traceback (most recent call last):

  Cell In[33], line 1
    gemini3d.model.setup("./config.nml","~/simulations/ssd/NM_20240508/")

  File ~/Projects/pygemini/src/gemini3d/model.py:150 in setup
    equilibrium(cfg)

  File ~/Projects/pygemini/src/gemini3d/model.py:166 in equilibrium
    dat = equilibrium_state(cfg, xg)

  File ~/Projects/pygemini/src/gemini3d/plasma.py:380 in equilibrium_state
    atmos = msis_setup(p, xg)

  File ~/Projects/pygemini/src/gemini3d/msis.py:75 in msis_setup
    raise EnvironmentError(f"MSIS 2.x requested but not present in {msis_exe}")

OSError: MSIS 2.x requested but not present in /Users/zettergm/Projects/gemini3d/build/msis/msis_setup

Relevant log output

No response

@mattzett mattzett added the bug Something isn't working label Aug 23, 2024
@scivision
Copy link
Member

scivision commented Aug 23, 2024

OK, This is a leftover issue from gemini3d/external retirement. I need to make this point to the Gemini3D build directory or install location or Figments install location, so that the code/runs are in harmony--using the same MSIS for PyGemini and Gemini3D/Figments.

Thanks!!

@mattzett
Copy link
Member Author

I found a corollary to this issue, as well. I needed to manually move the msis.parm file into the build directory for gemini to run properly with msis 2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants