<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 12:16 PM, Ariadna Murguia <span dir="ltr"><<a href="mailto:doggies012@hotmail.com" target="_blank">doggies012@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear yt users,</p>
<p><br></p></div></div></blockquote><div><br></div><div>Hi Ariadna,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>
</p>
<p>I'm trying to load a set of particles (a bunch of particles, so I'm running it in the hyades cluster). I have their positions and velocities. What I'm doing is just defining a box as the domain of my simulation, the data as a dictionary of velocities and
 positions, and just saying yt.load_particles(data=data, bbox=bbox). I tried it for some particle files that I'm using, and it works, but for others, it crashes. <span style="font-size:12pt">I'm getting the following error:</span></p>
<p><br>
</p>
<p>/pfs/sw/python/yt/yt-x86_64/<wbr>src/yt-hg/yt/units/yt_array.<wbr>py:793: RuntimeWarning: invalid value encountered in divide  return YTArray(super(YTArray, self).__div__(ro))<br>
</p>
<p>/pfs/sw/python/yt/yt-x86_64/<wbr>src/yt-hg/yt/utilities/math_<wbr>utils.py:861: RuntimeWarning: invalid value encountered in arccos  return np.arccos( JdotCoords / np.sqrt(np.sum(coords**2,axis=<wbr>0)) )<br>
</p>
<p><br></p></div></div></blockquote><div>These are just warnings, which might indicate that something is going wrong but also might not.<br></div><div><br></div><div>When you say it crashes, how does it crash? Does it print any error message or traceback? If so, can you share those?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>
</p>
<p>I tried it in my computer with less particles,and it works perfectly. Am I loading the particles wrong or is there a way to fix this error?</p>
<p>Thank you very much in advance</p>
<p><br>
</p>
<p>All the best,</p>
<p>Ariadna</p>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:12.8px">
----------------</div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:12.8px">
Ariadna Murguia Berthier</div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:12.8px">
University of California, Santa Cruz</div>
<p></p>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:12.8px">
Department of Astronomy and Astrophysics</div>
<p></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div></div>