[yt-users] is there a limit on image size?

Dave Semeraro semeraro at tacc.utexas.edu
Thu May 28 12:54:17 PDT 2015


Helly yt-crowd.

I am doing some volume rendering in yt and getting some errors when I try to grow the image size. I am trying to write a png image that is 1024 x 1024. I get the following errors:

image_array.py:229: RuntimeWarning: invalid value encountered in multiply
np.multiply(self[:, :, :3], 1.0/cmax, out[:, :, :3])

yt_array.py:764: RuntimeWarning: divide by zero encountered in divide
  return YTArray(super(YTArray, self).__rdiv__(lo))

The largest image I can generate is about 800x 800. It is a nice image too I tell ya. Just wish I could do a bigger one to submit for publication.

Attached is the script I am using. Any help would be great.

Thanks,
Dave Semeraro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150528/bf45d308/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enzovolume.py
Type: application/octet-stream
Size: 876 bytes
Desc: enzovolume.py
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150528/bf45d308/attachment.obj>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list