ttricco / sarracen

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.
https://sarracen.readthedocs.io
GNU General Public License v3.0
15 stars 17 forks source link

Unable to Produce Plot due to a Float NaN Error #66

Closed zachboots closed 10 months ago

zachboots commented 10 months ago

Hey,

So I import sarracen

I import my dump file of a white dwarf star by... sdf = sarracen.read_phantom('star2_00010')

I can view the table of sdf and it's values seem fine

I then try to render a plot by sdf.render('rho')

I end up receiving this error "ValueError: cannot convert float NaN to integer"

I've attached the full error text...

full sarracen error

Any help to resolve this issue would be greatly appreciated, thanks.