Created
July 7, 2015 14:21
-
-
Save bluescarni/21358676e510e009bdea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [26]: g.write(f) | |
--------------------------------------------------------------------------- | |
OverflowError Traceback (most recent call last) | |
<ipython-input-26-9261ff4722c5> in <module>() | |
----> 1 g.write(f) | |
/home/yardbird/.local/lib64/python2.7/site-packages/hyperion/grid/voronoi_grid.pyc in write(self, group, quantities, copy, absolute_paths, compression, wall_dtype, physics_dtype) | |
460 # Write the tables. | |
461 voronoi_table.write(g_geometry, path='cells', compression=True) | |
--> 462 g_geometry.create_dataset('sparse_neighs', self._st[0], compression=True, dtype=np.int32) | |
463 g_geometry.create_dataset('sparse_idx', self._st[1], compression=True, dtype=np.int32) | |
464 | |
/usr/lib64/python2.7/site-packages/h5py/_hl/group.pyc in create_dataset(self, name, shape, dtype, data, **kwds) | |
97 """ | |
98 with phil: | |
---> 99 dsid = dataset.make_new_dset(self, shape, dtype, data, **kwds) | |
100 dset = dataset.Dataset(dsid) | |
101 if name is not None: | |
/usr/lib64/python2.7/site-packages/h5py/_hl/dataset.pyc in make_new_dset(parent, shape, dtype, data, chunks, compression, shuffle, fletcher32, maxshape, compression_opts, fillvalue, scaleoffset, track_times) | |
99 | |
100 dcpl = filters.generate_dcpl(shape, dtype, chunks, compression, compression_opts, | |
--> 101 shuffle, fletcher32, maxshape, scaleoffset) | |
102 | |
103 if fillvalue is not None: | |
/usr/lib64/python2.7/site-packages/h5py/_hl/filters.pyc in generate_dcpl(shape, dtype, chunks, compression, compression_opts, shuffle, fletcher32, maxshape, scaleoffset) | |
171 plist = h5p.create(h5p.DATASET_CREATE) | |
172 if chunks is not None: | |
--> 173 plist.set_chunk(chunks) | |
174 plist.set_fill_time(h5d.FILL_TIME_ALLOC) # prevent resize glitch | |
175 | |
h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/var/tmp/portage/dev-python/h5py-2.4.0/work/h5py-2.4.0/h5py/_objects.c:2754)() | |
h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/var/tmp/portage/dev-python/h5py-2.4.0/work/h5py-2.4.0/h5py/_objects.c:2711)() | |
h5py/h5p.pyx in h5py.h5p.PropDCID.set_chunk (/var/tmp/portage/dev-python/h5py-2.4.0/work/h5py-2.4.0/h5py/h5p.c:4641)() | |
h5py/utils.pyx in h5py.utils.convert_tuple (/var/tmp/portage/dev-python/h5py-2.4.0/work/h5py-2.4.0/h5py/utils.c:2217)() | |
OverflowError: can't convert negative value to hsize_t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment