[yt-users] Is it possible to get grid size from an enzo AMR data?

Britton Smith brittonsmith at gmail.com
Wed Nov 26 03:12:38 PST 2014


Hi Reju,

If what you want is to get the size of each AMR grid, then for a given
dataset, ds, you can access the list of all AMR grids as ds.index.grids.
Then, for example, you can get the shape of the first grid with
ds.index.grids[0].shape.

Britton

On Wed, Nov 26, 2014 at 10:45 AM, Reju Sam John <rejusamjohn at gmail.com>
wrote:

> Dear all,
> Is it possible to take grid size from an enzo AMR data?
> Thanks
>
> --
> Reju Sam John
>
> _______________________________________________
> 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/20141126/5dd84e2c/attachment.htm>


More information about the yt-users mailing list