<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 7:45 AM, Andrea Negri <span dir="ltr"><<a href="mailto:negri.andre@gmail.com" target="_blank">negri.andre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi  all,<br>
<br>
I would like to shape a problem and the relative (temporary) solution.<br>
I have a numerical simulation in spherical coordinates, which order is<br>
phi, theta, so I use the load_uniform_grid function with<br>
geometry=('spherical',('phi','theta','r'),  and the relative bbox.<br>
<br>
However, when I try to plot a slice, I obtain an error. Long story<br>
short, now I transpose the data, and everything is OK.<br>
<br>
In attachment there is a very simple code that shows the problem, the<br>
commented lines produce a correct plot, while the uncommented lines<br>
raise an error.<br>
<br></blockquote><div><br></div><div>Hi Andrea,</div><div><br></div><div>This looks like a bug in yt to me, at first glance.</div><div><br></div><div>Can you open an issue about this so we don't lose track:</div><div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/issues/new">https://bitbucket.org/yt_analysis/yt/issues/new</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Cheers,<br>
Andrea<br>
<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></div>