sczesla / PyAstronomy

A collection of astronomy-related routines in Python
152 stars 35 forks source link

Kurucz atmosphere model with Teff=50000 and logg=5.0 #48

Closed MingjieJian closed 4 years ago

MingjieJian commented 4 years ago

Hi Stefan,

I am not so sure if this should be an issue or not. I am checking the Kurucz atmosphere model grids, and found that in the website, there are models with Teff=50000K and logg=5.0 dex, but I got a PyValError when I try model = pyasl.getKuruczModel(50000, 5.0, 0.0). Is this intended to raise an error?

sczesla commented 4 years ago

Hi, Thanks for reporting this. This is not intended behavior. There was a bug (or rather a logical error), which prevented the last model in the file from being added to the list of models. This should be fixed now in the development version. Cheers, Stefan

MingjieJian commented 4 years ago

Thank you Stefan! Would like to see the full models in the future release.

sczesla commented 4 years ago

Cool, I drafted a release (0.15.1) with this inlcuded.