<div dir="ltr">Hi Sushil,<div><br></div><div>This is non-fatal -- it just means there are some divide by zeros, but I suspect that given that it's coming from the plot modifications file, it's not a big deal.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 14, 2016 at 12:14 PM, Sushilkumar <span dir="ltr"><<a href="mailto:sushil.sush19us@gmail.com" target="_blank">sushil.sush19us@gmail.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><div>Dear yt:<br><br></div>Upon running a script I get the following warning, which does not occur for other scripts. Could you let me know what this warning means and whether it is a cause of concern?<br><br>/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py:387: RuntimeWarning: invalid value encountered in divide<br>  pixX /= nn<br>/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py:388: RuntimeWarning: invalid value encountered in divide<br>  pixY /= nn<br><br><br><br></div><div>Thanks in advance<br></div><div><br><br><br><div><br><br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 13, 2016 at 12:52 PM,  <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send yt-users mailing list submissions to<br>
        <a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org" target="_blank">yt-users-owner@lists.spacepope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Error in making light ray for a gadget dataset (Matthew Turk)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 12 Feb 2016 14:42:08 -0600<br>
From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Error in making light ray for a gadget dataset<br>
Message-ID:<br>
        <CALO3=5HRmi3919BJC9noCtCaS3BCV96==<a href="mailto:HDxO1qwamxgnNE2Mw@mail.gmail.com" target="_blank">HDxO1qwamxgnNE2Mw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Bili,<br>
<br>
Hm, I'm honestly not sure.  This looks like an oddity in the way the octree<br>
is being constructed in spatial dimensions.  Any chance you can reproduce<br>
this with a ray or ortho_ray object, which should simplify the number of<br>
moving parts?<br>
<br>
On Tue, Feb 9, 2016 at 2:04 PM, Bili Dong - Gmail <<a href="mailto:qobilidop@gmail.com" target="_blank">qobilidop@gmail.com</a>><br>
wrote:<br>
<br>
> Hi yt users,<br>
><br>
> I'm trying to make a light ray for a gadget dataset using this script:<br>
> <a href="http://paste.yt-project.org/show/6234/" rel="noreferrer" target="_blank">http://paste.yt-project.org/show/6234/</a><br>
><br>
> But I get the following error:<br>
><br>
> ```<br>
><br>
> /Users/qobilidop/repos/yt/yt/geometry/geometry_handler.py in fcoords(self)    320             c = obj.select_fcoords(self.dobj)    321             if c.shape[0] == 0: continue--> 322             ci[ind:ind+c.shape[0], :] = c    323             ind += c.shape[0]    324         return ci<br>
> ValueError: could not broadcast input array from shape (81,3) into shape (40,3)<br>
><br>
> ```<br>
><br>
><br>
> My yt is on the changeset d47150dfbde6.<br>
><br>
><br>
> I'm wondering if I'm doing it the correct way? And how could I solve the problem?<br>
><br>
><br>
> Thanks,<br>
><br>
> Bili<br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160212/24b792e6/attachment.html" rel="noreferrer" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160212/24b792e6/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 96, Issue 18<br>
****************************************<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div><span style="border-collapse:collapse"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i>SK<sup>2</sup></i></b></span></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i><sup><br></sup></i></b></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;border-collapse:collapse"><b><sup>"</sup></b></span><font color="#500050" face="arial, sans-serif"><b>Claiming that something can move faster than light is a good conversation-stopper in physics. People edge away from you in cocktail parties; friends never return phone calls. You just don’t mess with Albert Einstein.</b></font><b style="color:rgb(80,0,80);font-family:arial,sans-serif"><sup>"</sup></b></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></div></span></div>
</font></span></div></div></div></div></div>
<br>_______________________________________________<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/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>