[yt-users] analyze flash data with uniform grid

Ji Suoqing jisuoqing at gmail.com
Sat Jul 28 12:26:38 PDT 2012


Hi all,

Currently I'm trying to analyze Flash4-beta data with YT, and for the data file uniform grid rather than AMR is used. I always get such error when I load the file:

>>> pf=load('relax_hdf5_chk_0000')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/aphelion/jisuoqing/yt-x86_64/src/yt-hg/yt/convenience.py", line 71, in load
    return output_type_registry[candidates[0]](*args, **kwargs)
  File "/aphelion/jisuoqing/yt-x86_64/src/yt-hg/yt/frontends/flash/data_structures.py", line 214, in __init__
    StaticOutput.__init__(self, filename, data_style)
  File "/aphelion/jisuoqing/yt-x86_64/src/yt-hg/yt/data_objects/static_output.py", line 92, in __init__
    self._parse_parameter_file()
  File "/aphelion/jisuoqing/yt-x86_64/src/yt-hg/yt/frontends/flash/data_structures.py", line 377, in _parse_parameter_file
    self.min_level = self.parameters["lrefine_min"] -1
KeyError: 'lrefine_min'

So, does YT provides a way to deal with the uniform grid?

Thanks for your care and consideration.

Best wishes,
Suoqing


More information about the yt-users mailing list