[yt-users] Bad object header error
Jean-Claude Passy
jcpassy at gmail.com
Wed Aug 4 18:34:13 PDT 2010
Hi Matt,
awesome, that works. :-)
Thanks,
JC
On 04/08/10 18:37, Matthew Turk wrote:
> Hi JC,
>
> Can you delete the .harray file and try again?
>
> -Matt
>
> On Wed, Aug 4, 2010 at 5:40 PM, Jean-Claude Passy<jcpassy at gmail.com> wrote:
>> Hi all,
>>
>> I have slightly modified some output data from Enzo. I edited the datasets
>> in the .cpu**** files, the .boundary files, the restart file, etc... So far,
>> I was using only a unigrid and I was able to restart Enzo with this 'edited'
>> data and to manipulate it without any problem.
>> Now, I am tried to do the same thing on a data with several grids and the
>> following error occurred:
>>
>> ###########################################################################################
>> [17:22:23] osprey:$ python error_header.py --paste
>> Traceback (most recent call last):
>> File "error_header.py", line 6, in<module>
>> pf.h.print_stats()
>> File "/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/OutputTypes.py",
>> line 150, in _get_hierarchy
>> self.__hierarchy = self._hierarchy_class(self,
>> data_style=self.data_style)
>> File "/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py",
>> line 359, in __init__
>> harray_fp = h5py.File(harray_fn)
>> File
>> "/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/highlevel.py",
>> line 642, in __init__
>> Group.__init__(self, self, '/')
>> File
>> "/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/highlevel.py",
>> line 232, in __init__
>> self.id = h5g.open(parent_object.id, name)
>> File
>> "/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/_sync.py",
>> line 88, in wrap
>> return func(*args, **kwds)
>> File "h5g.pyx", line 125, in h5py.h5g.open (h5py/h5g.c:1470)
>> h5py.h5e.ObjectHeaderError: Bad object header version number (Object header
>> layer: Wrong version number)
>>
>> Traceback pasted to http://paste.enzotools.org/show/n4Oufpec7uJVOh80RzkX
>> ##################################################################################################
>>
>> I have included the script. I can upload the data in a drop.io is necessary.
>>
>> Does anyone have an idea how to solve this problem ?
>>
>> Thanks for your help,
>>
>> JC
>>
>>
>> _______________________________________________
>> 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