Ah, looks like Matt went ahead and issued a pull request to fix this:

https://bitbucket.org/yt_analysis/yt/pull-requests/2131

On Tue, Apr 19, 2016 at 10:10 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:


On Tue, Apr 19, 2016 at 7:45 AM, Andrea Negri <negri.andre@gmail.com> wrote:
Hi  all,

I would like to shape a problem and the relative (temporary) solution.
I have a numerical simulation in spherical coordinates, which order is
phi, theta, so I use the load_uniform_grid function with
geometry=('spherical',('phi','theta','r'),  and the relative bbox.

However, when I try to plot a slice, I obtain an error. Long story
short, now I transpose the data, and everything is OK.

In attachment there is a very simple code that shows the problem, the
commented lines produce a correct plot, while the uncommented lines
raise an error.


Hi Andrea,

This looks like a bug in yt to me, at first glance.

Can you open an issue about this so we don't lose track:

 


Cheers,
Andrea

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org