[yt-users] Odd array size issue

Matthew Turk matthewturk at gmail.com
Fri Jun 1 08:06:53 PDT 2012


Hi Elizabeth,

What is the shape of the Ones field?

Matt
On Jun 1, 2012 10:26 AM, "Elizabeth Tasker" <tasker at astro1.sci.hokudai.ac.jp>
wrote:

> Hi,
>
> I have a smoothed covering grid object:
>
> In [2]: print scg
> AMRSmoothedCoveringGrid (GR_Enzo2_128amr5_zeus_turb_psupp_rr_0001):
> level=3, left_edge=[  0.  31.   0.], right_edge=[ 64.  33.  64.],
> ActiveDimensions=[2048 64 2048]
>
> which should have dims [2048, 64, 2048] as it claims above. Yet:
>
> In [5]: print scg["Density"].shape
> (256, 8, 256)
>
> Any idea why it's downsized?
>
> Oddly,  this code (that creates the above) worked fine on a different
> machine but unfortunately, I inadvertently trashed it's OS earlier in the
> week. Both systems (i.e. this system that did the above and the one that is
> now a deadman) are linux.
>
> Any ideas?
>
> Elizabeth
> _______________________________________________
> 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/20120601/17b9a74f/attachment.html>


More information about the yt-users mailing list