[mesa-users] Updated IDL procedure to read MESA output files

Richard Townsend townsend at astro.wisc.edu
Tue Oct 30 14:45:59 EDT 2012


Hi folks --

I've updated the IDL procedures on the MESA forum,

http://mesastar.org/tools-utilities/idl

...so that a single function -- read_mesa.pro -- can now be used to read both MESA history files ('history.data') and MESA profile files ('profileN.data').

Place read_mesa.pro somewhere where IDL can find it (e.g., in your IDL_PATH search path), and then read in data thus:

s = read_mesa('file.data')

This will store the contents of 'file.data' in the IDL structure s. To list the fields of s:

help, s, /struct

cheers,

Rich





More information about the Mesa-users mailing list