[yt-users] Error in making light ray for a gadget dataset

Bili Dong - Gmail qobilidop at gmail.com
Tue Feb 9 12:04:11 PST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160209/e118cb64/attachment.htm>


More information about the yt-users mailing list