<p dir="ltr">Hi Andrea,</p>
<p dir="ltr">For that, you can use the load_hexahedral_mesh function. There's an example in the docs as well.</p>
<p dir="ltr">Matt</p>
<div class="gmail_quote">On Dec 9, 2015 3:39 AM, "Andrea Negri" <<a href="mailto:negri.andre@gmail.com">negri.andre@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matthew,<br>
sorry for the late reply.<br>
<br>
I forgot to say that the spacing of the (spherical) radial grid is not<br>
constant with the radius,  but it is logarithmically sampled. Is it a<br>
problem?<br>
<br>
<br>
Andrea<br>
<br>
On 2 December 2015 at 18:13, Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>> wrote:<br>
> Hi Andrea,<br>
><br>
> It should be straightforward to do this.  You can load it in to yt<br>
> using the yt.load_uniform_grid function, and then specify the geometry<br>
> as spherical.  In the docs we have some examples:<br>
><br>
> <a href="http://yt-project.org/docs/3.2/examining/loading_data.html#generic-array-data" rel="noreferrer" target="_blank">http://yt-project.org/docs/3.2/examining/loading_data.html#generic-array-data</a><br>
><br>
> Specifying geometry="spherical" works here, and if your data is not in<br>
> r,theta,phi, you can specify the axis ordering with<br>
> geometry=("spherical", ("theta", "phi", "r")) (or whatever).<br>
><br>
> -Matt<br>
><br>
> On Wed, Dec 2, 2015 at 10:43 AM, Andrea Negri <<a href="mailto:negri@iap.fr">negri@iap.fr</a>> wrote:<br>
>> Hello,<br>
>><br>
>> I'm a ZEUS-MP 2 user, and I was wondering if is it possible to add the<br>
>> support to ZEUS-MP 2 data, which are stored in HDF5 files.<br>
>><br>
>> The data are nothing special or fancy, forget about particles or multiple<br>
>> levels of refinement. The code has a fixed grid in spherical coordinates,<br>
>> and all my simulations are axially symmetric, i.e. all the variables depends<br>
>> only on the spherical radius and co-latitude.<br>
>><br>
>> It would be great to benefits of all the yt features!<br>
>><br>
>> Thanks in advance,<br>
>> Andrea Negri<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>
> 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>
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>
</blockquote></div>