[yt-users] Odd array size issue

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Fri Jun 1 16:34:15 PDT 2012


Hi Matt,

It's the same:

In [3]: print scg["Ones"].shape
(256, 8, 256)

I should add, this machine is running the latest yt:

a437280f3cef (yt) tip

whereas my old dead machine probably wasn't. I'm not sure if there might have been a recent error added that produced this?

Elizabeth



Elizabeth
On 2012-06-02, at 12:06 AM, Matthew Turk wrote:

> 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
> _______________________________________________
> 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/20120602/e62aecfa/attachment.htm>


More information about the yt-users mailing list