[yt-users] An error when using yt on PLUTO 4.1

方军 fangjun at ynu.edu.cn
Tue Jun 16 05:57:22 PDT 2015


Dear everyone,
I recently used yt to plot the slice files for the hdf5 file from PLUTO 4.1.
An error exists when ploting, i.e.,
[('chombo', 'rho'), ('chombo', 'vx1'), ('chombo', 'vx2'), ('chombo', 'vx3'), ('chombo', 'prs')]
Traceback (most recent call last):
  File "simple_slice.py", line 18, in <module>
    p = yt.ProjectionPlot(ds, "y", "density")
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 1227, in __init__
    field_parameters = field_parameters, method = method)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py", line 250, in __init__
    self.get_data(field)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py", line 295, in get_data
    chunk_fields, "io", local_only = True)):
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 506, in parallel_objects
    for obj_id, obj in oiter:
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 592, in chunks
    self.get_data(fields)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 681, in get_data
    fluids, self, self._current_chunk)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/geometry/geometry_handler.py", line 252, in _read_fluid_fields
    chunk_size)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/frontends/chombo/io.py", line 147, in _read_fluid_selection
    data = self._read_data(g, fname)
  File "/home/fangjun/yt/yt-x86_64/src/yt-hg/yt/frontends/chombo/io.py", line 104, in _read_data
    shape = grid.ActiveDimensions + 2*self.ghost

AttributeError: 'IOHandlerPlutoHDF5' object has no attribute 'ghost'

Could you give some instructions on it?
Best wishes,
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150616/52d73197/attachment.htm>


More information about the yt-users mailing list