<div dir="ltr"><div>Dear yt:<br><br></div>I am getting the error as below while plotting streamplots. Could you let me know what is causing this problem? drive link to my code (yt_frb_streamplot.py) is also below.<br><br><a href="https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc">https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc</a><br><br>Traceback (most recent call last):<br>  File "yt_frb_streamplot.py", line 67, in <module><br>    plt.streamplot(X, Y, U, V, density=2,color='blue') # Here density adjusts the density of streamlines<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3339, in streamplot<br>    zorder=zorder)<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 4204, in streamplot<br>    zorder=zorder)<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/streamplot.py", line 74, in streamplot<br>    grid = Grid(x, y)<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/streamplot.py", line 261, in __init__<br>    assert np.allclose(x_row, x)<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/numpy/core/numeric.py", line 2372, in allclose<br>    res = all(isclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan))<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/numpy/core/numeric.py", line 2453, in isclose<br>    return within_tol(x, y, atol, rtol)<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/numpy/core/numeric.py", line 2436, in within_tol<br>    result = less_equal(abs(x-y), atol + rtol * abs(y))<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/yt/units/yt_array.py", line 732, in __radd__<br>    lo = sanitize_units_add(self, left_object, "addition")<br>  File "/state/partition1/anaconda/lib/python2.7/site-packages/yt/units/yt_array.py", line 134, in sanitize_units_add<br>    raise YTUnitOperationError(op_string, inp.units, dimensionless)<br>yt.utilities.exceptions.YTUnitOperationError: The addition operator for YTArrays with units (km) and (1) is not well defined.<br><br><div><br><br><br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 1:00 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">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/<wbr>listinfo.cgi/yt-users-<wbr>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">yt-users-request@lists.<wbr>spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.<wbr>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: conda install (John Regan)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 16 Aug 2016 15:34:48 +0100<br>
From: John Regan <<a href="mailto:johnanthonyregan@gmail.com">johnanthonyregan@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] conda install<br>
Message-ID:<br>
        <CABzd+<wbr>TFisnpj44UZ3NUQ4HnEHNAuS_iQR+<wbr>LzM2YRU_a9DntX=<a href="mailto:Q@mail.gmail.com">Q@mail.gmail.<wbr>com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
perfect - thanks Nathan!<br>
<br>
On Mon, Aug 15, 2016 at 5:20 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>><br>
wrote:<br>
<br>
><br>
><br>
> On Mon, Aug 15, 2016 at 11:18 AM, John Regan <<a href="mailto:johnanthonyregan@gmail.com">johnanthonyregan@gmail.com</a>><br>
> wrote:<br>
><br>
>> Hi All,<br>
>><br>
>> Quick question on the conda install system.<br>
>><br>
>> I'm sure this is very easy but when I update the source folder e.g.<br>
>> ~/ytfork/yt/analysis_modules/.<wbr>....<br>
>> how do I then get that reflected in the yt-conda installation e.g. in<br>
>> ~/ytfork/doc/yt-conda/lib/.../<wbr>analysis_modules?<br>
>><br>
>> I could copy the "source" files directly into the "lib" directory but I'm<br>
>> guessing there is a better way?<br>
>><br>
><br>
> $ conda uninstall yt<br>
> $ pip uninstall yt<br>
> $ cd ~/ytfork/<br>
> $ python setup.py develop<br>
><br>
> And now ~/ytfork/ will be the "active" installation.<br>
><br>
><br>
>><br>
>><br>
>> John<br>
>><br>
>><br>
>><br>
>><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>
>><br>
><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>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160816/30447b70/attachment.html" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>pipermail/yt-users-spacepope.<wbr>org/attachments/20160816/<wbr>30447b70/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<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>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 102, Issue 22<br>
******************************<wbr>***********<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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>
</div></div></div></div>