Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------------------
- IOError Traceback (most recent call last)
- <ipython-input-4-dae11f5cbd87> in <module>()
- 1 fname = '001'
- ----> 2 ds = yt.load('ISOLATED_GALAXY_' + fname + '/ISOLATED_GALAXY_' + fname + '.block_list')
- 3 data = ds.all_data()
- 4
- 5
- /home/aemerick/anaconda2/lib/python2.7/site-packages/yt/convenience.pyc in load(*args, **kwargs)
- 84 candidates = find_lowest_subclasses(candidates)
- 85 if len(candidates) == 1:
- ---> 86 return candidates[0](*args, **kwargs)
- 87 if len(candidates) == 0:
- 88 if ytcfg.get("yt", "enzo_db") != '' \
- /home/aemerick/anaconda2/lib/python2.7/site-packages/yt/frontends/enzo_p/data_structures.pyc in __init__(self, filename, dataset_type, file_style, parameter_override, conversion_override, storage_filename, units_override, unit_system)
- 278 self.storage_filename = storage_filename
- 279 Dataset.__init__(self, filename, dataset_type, file_style=file_style,
- --> 280 units_override=units_override, unit_system=unit_system)
- 281
- 282 def _parse_parameter_file(self):
- /home/aemerick/anaconda2/lib/python2.7/site-packages/yt/data_objects/static_output.pyc in __init__(self, filename, dataset_type, file_style, units_override, unit_system)
- 304 self._create_unit_registry()
- 305
- --> 306 self._parse_parameter_file()
- 307 self.set_units()
- 308 self._assign_unit_system(unit_system)
- /home/aemerick/anaconda2/lib/python2.7/site-packages/yt/frontends/enzo_p/data_structures.pyc in _parse_parameter_file(self)
- 296 ensure_tuple(np.ones(self.dimensionality, dtype=bool))
- 297
- --> 298 fh = h5py.File(os.path.join(self.directory, fn0), "r")
- 299 self.domain_left_edge = fh.attrs["lower"]
- 300 self.domain_right_edge = fh.attrs["upper"]
- /home/aemerick/anaconda2/lib/python2.7/site-packages/h5py/_hl/files.pyc in __init__(self, name, mode, driver, libver, userblock_size, swmr, **kwds)
- 267 with phil:
- 268 fapl = make_fapl(driver, libver, **kwds)
- --> 269 fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
- 270
- 271 if swmr_support:
- /home/aemerick/anaconda2/lib/python2.7/site-packages/h5py/_hl/files.pyc in make_fid(name, mode, userblock_size, fapl, fcpl, swmr)
- 97 if swmr and swmr_support:
- 98 flags |= h5f.ACC_SWMR_READ
- ---> 99 fid = h5f.open(name, flags, fapl=fapl)
- 100 elif mode == 'r+':
- 101 fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)
- h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
- h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
- h5py/h5f.pyx in h5py.h5f.open()
- IOError: Unable to open file (bad object header version number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement