[yt-dev] Issue #784: FLASH 2.5 HDF5 format not supported (yt_analysis/yt)

Miguel de Val-Borro issues-reply at bitbucket.org
Mon Feb 17 11:30:22 PST 2014


New issue 784: FLASH 2.5 HDF5 format not supported
https://bitbucket.org/yt_analysis/yt/issue/784/flash-25-hdf5-format-not-supported

Miguel de Val-Borro:

I have some 2-D HDF5 files created with FLASH2.5 that cannot be loaded by yt. The code has been compiled recently and uses a relatively new version of the HDF5 library. Here is the output error message:

 
```
File "/usr/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/yt/convenience.py", line 78, in load
    return output_type_registry[candidates[0]](*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/yt/frontends/flash/data_structures.py", line 225, in __init__
    StaticOutput.__init__(self, filename, data_style)
  File "/usr/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/yt/data_objects/static_output.py", line 94, in __init__
    self._parse_parameter_file()
  File "/usr/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/yt/frontends/flash/data_structures.py", line 425, in _parse_parameter_file
    for d in (dimensionality)+range(3-dimensionality):
TypeError: unsupported operand type(s) for +: 'int' and 'list'

```

I am attaching the HDF5 plot file to this issue. Is there any possible way to fix this problem?





More information about the yt-dev mailing list