[yt-users] load and slice data in spherical coordinates

Nathan Goldbaum nathan12343 at gmail.com
Tue Apr 19 08:10:55 PDT 2016


On Tue, Apr 19, 2016 at 7:45 AM, Andrea Negri <negri.andre at 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:

https://bitbucket.org/yt_analysis/yt/issues/new


>
>
> Cheers,
> Andrea
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160419/4834f3b9/attachment.htm>


More information about the yt-users mailing list