[Mesa-users] MesaReader Python Plotting Issue

Aaron Dotter aaron.dotter at gmail.com
Tue Aug 13 16:53:31 EDT 2019


Hi,

There is a fix for this issue that will be in the next public release.

Aaron



On Tue, Aug 13, 2019 at 1:48 PM Desmond Helmut Grossmann via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> 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>:
>
>> 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
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>> _______________________________________________
> 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/20190813/0724500f/attachment-0001.html>


More information about the Mesa-users mailing list