[yt-users] load spherical polar coordinate data with mesh refinement in HDF5

Jiang, Yanfei yanfei.jiang at cfa.harvard.edu
Tue Mar 29 16:29:16 PDT 2016


Thanks, Jonah. The issue I can think about now is that the data structure
is not the same as required in the documentation. But I guess I can write a
wrapper to transform the data structure as required.

On Tue, Mar 29, 2016 at 6:58 PM, Jonah Miller <
jonah.maxwell.miller at gmail.com> wrote:

> Hi Yan-Feng,
>
> I haven't tried it, but I think there is functionality for this. You can
> use the load_amr_grids() function which can load amr data in Cartesian,
> spherical, or polar coordinates. Here's the documentation:
>
> http://yt-project.org/doc/examining/generic_array_data.html#loading-numpy-array
>
>
> http://yt-project.org/doc/reference/api/generated/yt.frontends.stream.data_structures.load_amr_grids.html#yt.frontends.stream.data_structures.load_amr_grids
>
> Best,
> Jonah
>
> On Tue, Mar 29, 2016, 6:35 PM Jiang, Yanfei <yanfei.jiang at cfa.harvard.edu>
> wrote:
>
>> Hi,
>>          I have some data from a new version of Athena simulations. It is
>> in spherical polar coordinate with mesh refinement written in HDF5. The
>> data structure is similar to flash data but not the same. Does anyone have
>> suggestions to load such data to yt directly?
>>
>> Thank you.
>> --
>> Yan-Fei Jiang
>>
>> Einstein Fellow
>> Harvard-Smithsonian Center for Astrophysics
>> 60 Garden Street, Cambridge MA USA 02138
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


-- 
Yan-Fei Jiang

Einstein Fellow
Harvard-Smithsonian Center for Astrophysics
60 Garden Street, Cambridge MA USA 02138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160329/ffd05e72/attachment.htm>


More information about the yt-users mailing list