Closed Nico-Godoy closed 7 months ago
Hi Nico,
Apologies for the delayed response. I have a couple of questions to help troubleshoot the issue. First, which operating system are you using? The software has only been tested on Ubuntu and may not work with macOS or Windows. Second, could you verify if the atomic data has been placed exactly as mentioned in the readme? The directory structure should be precisely as follows:
> pwd
.../vidmapy/vidmapy/kurucz/atomic_data
> ls
ODF lines molecules
Please let me know if these were helpful.
Update: I've just realized that this error occurs when calling Synthe, whereas Atlas seems to work just fine. You might also want to verify that the variable model actually contains the model, for example, by plotting it as demonstrated here:
f, ax = plt.subplots(1, 1)
ax.plot(model.structure["RHOX"], model.structure["T"])
ax.set_title('Atmosphere model')
ax.set_xlabel("RHOX")
ax.set_ylabel("T [K]")
plt.show()
Dear Tomasz, Thank you for your reply. I am using Linux Mint, so in principle, there is no problem running the code. I downloaded the folder ( atom_data_kurucz.tar.xz ) from the website specified in the readme, and then I just unpacked (removing the _kurucz in the name). And the name is different indeed! 'atom_data' should be 'atomic_data'. When I changed the name, the code ran without any error. Thank you so much for your help! I appreciate it so much! Best wishes, Nico
Hi Nico!
I'm happy that this was helpful! All the best, Tomasz
Hi. I'm getting the following error (see below) when I run the tutorial/examples (I copied the entire input/output, just in case). I installed vidmapy as explained in the readme file. I included in the code the modifications from the fork of "sdrewchojnowski". However, I get the same error with/without these modifications. Do you have any idea where the problem is and how to fix it? Many thank!!