reading tipsy files
Hi, I'm trying to read Gasoline data with yT and I need to retrieve the oxygen and iron mass fraction from the *.OxMassFrac and *.FeMassFrac for all the stellar particles. I try to read the oxygen mass fraction with this line of code dd[("Stars", "OxMassFrac")].v but then I get the following error Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/mtomas/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 253, in __getitem__ self.get_data(f) File "/home/mtomas/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 708, in get_data particles, self, self._current_chunk) File "/home/mtomas/yt-x86_64/src/yt-hg/yt/geometry/geometry_handler.py", line 234, in _read_particle_fields fields_to_read) File "/home/mtomas/yt-x86_64/src/yt-hg/yt/utilities/io_handler.py", line 187, in _read_particle_selection rv[field_f][my_ind:my_ind + vals.shape[0],...] = vals ValueError: could not broadcast input array from shape (8649900) into shape (0) Has this been seen before? I'm using the stable version of yT. Best, Matteo
participants (1)
-
Matteo Tomassetti