[Mesa-users] MesaReader Python Plotting Issue

Madison Lyn Fitzgerald-Russell madison.l.fitzgerald at wmich.edu
Thu Aug 15 15:10:19 EDT 2019


Thanks for the suggestion! How did you even find that tiny difference?

Thanks,
Madison



Madison Fitzgerald-Russell

Graduate Assistant
Department of Physics & The Mallinson Institute for Science Education
Western Michigan University

________________________________
From: Desmond Helmut Grossmann <desmond.helmut at gmail.com>
Sent: Tuesday, August 13, 2019 4:47 PM
To: Madison Lyn Fitzgerald-Russell <madison.l.fitzgerald at wmich.edu>
Cc: mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
Subject: Re: [Mesa-users] MesaReader Python Plotting Issue

Dear Madison,

I just tried it to plot with mesareader module myself (with the new version of MESA) and I encountered the same problem. The solution, that worked for me was:

In the History file (in LOGS directory), which is accessed by mesa reader, in the 4th column (the one with the stellar age) it provides the version number of MESA SDK (basically just for information it doesn't matter for plotting). However, in my case it shows the following:

"x86_64-osx-10.10-10.14-2019

At the end of the version number there is a quotation mark missing. If you add this quotation mark by hand, save the file and rerun the python script it should work out fine.

Greeting s from the MESA Summer School

Desmond


Am Di., 13. Aug. 2019 um 12:22 Uhr schrieb Madison Lyn Fitzgerald-Russell <madison.l.fitzgerald at wmich.edu<mailto:madison.l.fitzgerald at wmich.edu>>:
Dear MESA users,

I am having an issue with plotting my data from a standard 1M_pre_ms_to_wd run from v11701 using the MesaReader Python module. When I try to plot any variable against time, the script freezes and is unable to produce a plot. If I plot two other variables (effective temperature and luminosity, for example), I do not run into this issue (although Python is a little slower than usual to open the figure).

After some significant googling, I tried a number of suggestions, and when I use two of these suggestions (noted in attached .py file) with non-MESA data, I'm able to produce a plot. When I try to use MESA data, the freezing issue returns. This is new for me, as I recently updated to v11701, and I did not have the same problem when I was using data from v10378.

I've included a copy of the Python code I'm using to plot. The exact same code, without the suggestions noted, works with data from v10378--I did test that to make sure.

I wondered if this was an issue anyone else had run into, and if so, what workarounds you found.

I'm using Python 2.7.

Thank you,

Madison Fitzgerald-Russell

Graduate Assistant
Department of Physics & The Mallinson Institute for Science Education
Western Michigan University

_______________________________________________
mesa-users at lists.mesastar.org<mailto:mesa-users at lists.mesastar.org>
https://lists.mesastar.org/mailman/listinfo/mesa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190815/96daed73/attachment.html>


More information about the Mesa-users mailing list