Pastebin

Paste #3222: gadget yt error message

< previous paste - next paste>

Pasted by Junhwan Choi

Download View as text

  File "DenViz.py", line 11, in <module>
    pc = yt.ProjectionPlot(ds, "x", ('gas', 'density'))
  File "/Users/jhchoi/common/src/yt/yt/visualization/plot_window.py", line 1233, in __init__
    field_parameters = field_parameters, style = proj_style)
  File "/Users/jhchoi/common/src/yt/yt/data_objects/construction_data_containers.py", line 236, in __init__
    self.get_data(field)
  File "/Users/jhchoi/common/src/yt/yt/data_objects/construction_data_containers.py", line 280, in get_data
    chunk_fields, "io", local_only = True)): 
  File "/Users/jhchoi/common/src/yt/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 450, in parallel_objects
    for obj_id, obj in oiter:
  File "/Users/jhchoi/common/src/yt/yt/data_objects/data_containers.py", line 555, in chunks
    self.get_data(fields)
  File "/Users/jhchoi/common/src/yt/yt/data_objects/data_containers.py", line 655, in get_data
    particles, self, self._current_chunk)
  File "/Users/jhchoi/common/src/yt/yt/geometry/geometry_handler.py", line 233, in _read_particle_fields
    fields_to_read)
  File "/Users/jhchoi/common/src/yt/yt/utilities/io_handler.py", line 174, in _read_particle_selection
    rv[field_f][my_ind:my_ind + vals.shape[0],...] = vals
ValueError: could not broadcast input array from shape (2277264,2) into shape (2277264)

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.