[yt-users] Error in making light ray for a gadget dataset
Matthew Turk
matthewturk at gmail.com
Fri Feb 12 12:42:08 PST 2016
Hi Bili,
Hm, I'm honestly not sure. This looks like an oddity in the way the octree
is being constructed in spatial dimensions. Any chance you can reproduce
this with a ray or ortho_ray object, which should simplify the number of
moving parts?
On Tue, Feb 9, 2016 at 2:04 PM, Bili Dong - Gmail <qobilidop at gmail.com>
wrote:
> Hi yt users,
>
> I'm trying to make a light ray for a gadget dataset using this script:
> http://paste.yt-project.org/show/6234/
>
> But I get the following error:
>
> ```
>
> /Users/qobilidop/repos/yt/yt/geometry/geometry_handler.py in fcoords(self) 320 c = obj.select_fcoords(self.dobj) 321 if c.shape[0] == 0: continue--> 322 ci[ind:ind+c.shape[0], :] = c 323 ind += c.shape[0] 324 return ci
> ValueError: could not broadcast input array from shape (81,3) into shape (40,3)
>
> ```
>
>
> My yt is on the changeset d47150dfbde6.
>
>
> I'm wondering if I'm doing it the correct way? And how could I solve the problem?
>
>
> Thanks,
>
> Bili
>
>
> _______________________________________________
> 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/20160212/24b792e6/attachment.html>
More information about the yt-users
mailing list