rhdtownsend / msg

Multidimensional Spectral Grids
GNU General Public License v3.0
11 stars 3 forks source link

Kernel dies running PhotGrid #6

Closed aaronesque closed 2 years ago

aaronesque commented 2 years ago

Running

sg = pymsg.SpecGrid('sg-demo.h5')

does work, but running

pg = pymsg.PhotGrid(‘sg-demo.h5’, ‘pb-Kepler-Kepler.K-AB.h5’)

kills the kernel.

rhdtownsend commented 2 years ago

Can you post the passband file you're using? I'm guessing it is out of date, but MSG should fail gracefully in that case rather than crashing.

aaronesque commented 2 years ago

Here it is-- I'll try using a different passband as well. pb-Kepler-Kepler.K-AB.h5.zip

rhdtownsend commented 2 years ago

It looks like you're using an old passband file. Can you try downloading a new one from the documentation site?

aaronesque commented 2 years ago

I found the issue-- my star's temperature and log(g) exceeded the grid boundary!

rhdtownsend commented 2 years ago

That should cause a Python exception, not a kernel crash. So, I’m not sure that was the reason.

On May 23, 2022, at 2:37 PM, Aaron Lopez @.**@.>> wrote:

I found the issue-- my star's temperature and log(g) exceeded the grid boundary!

— Reply to this email directly, view it on GitHubhttps://github.com/rhdtownsend/msg/issues/6#issuecomment-1135066054, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADIYU4DVRMDCZHXFMQCQLFLVLPM67ANCNFSM5WNSFOVA. You are receiving this because you commented.Message ID: @.***>