Hi Brian,<br><br>It looks like the failure was in attempting to access the .yt file and it may have been corrupted somehow.  Can you delete the .yt file and try this again?  Also, from looking at the traceback, it looks like you are doing an unweighted projection of temperature, which is problem not going to give you something useful, since that is essentially adding temperature values along the line of sight.  You may want to try adding weight_field='Density' to get a weighted projection.<br>
<br>If deleting the .yt file doesn't work, please post your script when you write back.<br><br>Britton<br><br><div class="gmail_quote">On Fri, Jul 16, 2010 at 10:18 AM, Brian Crosby <span dir="ltr"><<a href="http://crosby.bd">crosby.bd</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Hi all,<div><br></div><div>Sorry to keep harassing the list, but I just had a job crash while trying to make some simple temperature projections on Ranger.  Before crashing, it successfully created and saved Density and DM Density projections, and the Temperature field is present in the *.cpu files, so that's not the problem.  Here's the error:</div>
<div><br></div><div><div><font face="Courier">Traceback (most recent call last):</font></div><div><font face="Courier">  File "projections.py", line 31, in <module></font></div><div><font face="Courier">    p = pt.add_projection("Temperature",2)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/raven/plot_collection.py", line 717, in add</font></div><div><font face="Courier">_projection</font></div><div><font face="Courier">    **field_parameters)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/BaseDataTypes.py", line 1205, in __in</font></div><div><font face="Courier">it__</font></div><div><font face="Courier">    self._refresh_data()</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/BaseDataTypes.py", line 237, in _refr</font></div><div><font face="Courier">esh_data</font></div><div><font face="Courier">    self.get_data()</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/BaseDataTypes.py", line 1416, in get_</font></div><div><font face="Courier">data</font></div><div><font face="Courier">    if self.serialize: self._store_fields(field, self._node_name)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/BaseDataTypes.py", line 655, in _stor</font></div><div><font face="Courier">e_fields</font></div><div><font face="Courier">    passthrough = True)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/ParallelTools.py", line 197, in in_or</font></div><div><font face="Courier">der</font></div><div><font face="Courier">    f2(*args, **kwargs)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HierarchyType.py", line 210, in _relo</font></div><div><font face="Courier">ad_data_file</font></div><div><font face="Courier">    self._data_file = h5py.File(self.__data_filename, self._data_mode)</font></div>
<div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg</font></div><div><font face="Courier">/h5py/highlevel.py", line 623, in __init__</font></div>
<div><font face="Courier">    self.fid = h5f.open(name, h5f.ACC_RDONLY, fapl=plist)</font></div><div><font face="Courier">  File "/share/home/01450/bcrosby/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg</font></div>
<div><font face="Courier">/h5py/_sync.py", line 88, in wrap</font></div><div><font face="Courier">    return func(*args, **kwds)</font></div><div><font face="Courier">  File "h5f.pyx", line 74, in h5py.h5f.open (h5py/h5f.c:1228)</font></div>
<div><font face="Courier">h5py._stub.IOError: Truncated file (File interface: File has been truncated)</font></div><div><font face="Courier">TACC: Cleaning up after job: 1472475</font></div><div><font face="Courier">TACC: Done.</font></div>
</div><div><br></div><div><br></div><div>Thanks,</div><div>Brian</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br>