[yt-users] error in creating plot collection

Stephen Skory stephenskory at yahoo.com
Fri Feb 25 15:20:48 PST 2011


Christine,

> /share/home/01112/tg803911/yt_new/yt/yt/frontends/enzo/data_structures.pyc in 
> _parse_binary_hierarchy(self)
>     288         except h5py.h5.H5Error:
>     289             return False
> --> 290         self.grid_dimensions[:] = f["/ActiveDimensions"][:]
>     291         self.grid_left_edge[:] = f["/LeftEdges"][:]
>     292         self.grid_right_edge[:] = f["/RightEdges"][:]
> 
> ValueError: shape mismatch: objects cannot be broadcast to a single
> shape

This error appears to be coming from the binary hierarchy in that particular data dump. The file may be corrupted. You can try deleting the "*.harrays" file, and yt should rebuild it.

Good luck!


 Stephen Skory
stephenskory at yahoo.com
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-users mailing list