[Mesa-users] Custom color file

Rob Farmer robert.j.farmer37 at gmail.com
Fri Feb 11 21:02:48 UTC 2022


Hi  Susmita

The warnings are due to having repeated teff, logg, m/h values in your
custom bc file (not the overlap with the lcb file).

For the bad column names, can you try setting the names in the filter file
and the history file as lowercase?

Rob


On Fri, 11 Feb 2022, 20:49 Aaron Dotter via Mesa-users, <
mesa-users at lists.mesastar.org> wrote:

> Hi Susmita,
>
> It's difficult to answer your question since you didn't state what MESA
> version you're using.  However, I can tell you that the MIST bolometric
> correction tables include multiple "sub-tables" with different values of
> the extinction (Av).  So all of the Teff, log(g) values will be repeated
> many times (one for each value of Av).  That may or may not be the reason
> for the error you have received.  If it is, then you should restrict
> yourself, presumably, to the first sub-table in the file, which has Av = 0.
>
> Aaron
>
> On Fri, Feb 11, 2022 at 5:18 AM Susmita Das via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
>> Hello all,
>> I'm trying to get the absolute magnitudes in the Kepler, TESS and Gaia
>> passbands using MESA-RSP.
>>
>> 1. I get the BC tables from
>> http://waps.cfa.harvard.edu/MIST/model_grids.html#bolometric and create
>> a new file "custom_color_file.dat" with the header:
>>  #Teff log_g M_div_h Kepler TESS Gaia_G Gaia_BP Gaia_RP
>>
>> The "custom_color_file.dat" is saved in the $MESA_DIR/data/colors_data
>> and $MESA_DIR/colors/data directories as well as in my working directory.
>>
>> 2. In the inlist file, I include the following:
>>           color_num_files=3
>>       color_file_names(1) = 'lcb98cor.dat'
>>       color_num_colors(1) = 11
>>       color_file_names(2)='blackbody_johnson.dat'
>>       color_num_colors(2)=5
>>       color_file_names(3)='custom_color_file.dat'
>>       color_num_colors(3)=5
>>
>> 3. Finally, in the "history_columns.list" file, I add the following:
>>           abs_mag Kepler
>>       abs_mag TESS
>>       abs_mag Gaia_G
>>       abs_mag Gaia_BP
>>       abs_mag Gaia_RP
>>
>> I encounter the warning: "Warning found duplicated color data for (T,
>> log g, M/H)" (probably because of overlapping parameter space from
>> 'lcb98cor.dat') and the following error:
>>
>>   bad filter name: Kepler
>>  bad filter name: TESS
>>  bad filter name: Gaia_G
>>  bad filter name: Gaia_BP
>>
>> (but strangely no mention of Gaia_RP) before it terminates.
>>
>> May I please know what I'm missing?
>> Thank you!
>> --
>> Dr. Susmita Das
>> Department of Physics & Astrophysics
>> University of Delhi, Delhi - 110007
>> +91-8373975203
>> _______________________________________________
>> 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/20220211/a7bc6c89/attachment.htm>


More information about the Mesa-users mailing list