[yt-dev] Issue #1071: ART does not auto-detect AGORA files (yt_analysis/yt)
Kenza Arraki
issues-reply at bitbucket.org
Sun Aug 23 11:26:03 PDT 2015
New issue 1071: ART does not auto-detect AGORA files
https://bitbucket.org/yt_analysis/yt/issues/1071/art-does-not-auto-detect-agora-files
Kenza Arraki:
ART cannot automatically load the AGORA files. This causes it to fail as it does not know the number of root grid cells.
Data from:
`AGORA-DISK-repository-for-use/Grackle+noSF/ART-I/IC`
```
#!python
In [1]: import yt
In [2]: ds = yt.load('AGORA_Galaxy_LOW.d')
yt : [INFO ] 2015-08-23 11:21:45,490 Using root level of 09
yt : [INFO ] 2015-08-23 11:21:45,677 Max level is 08
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-2-661a3253e356> in <module>()
----> 1 ds = yt.load('AGORA_Galaxy_LOW.d')
...
/global/u1/k/karraki/yt/yt/frontends/art/data_structures.pyc in _set_code_unit_attributes(self)
231 wmu = self.parameters["wmu"]
232 Om0 = self.parameters['Om0']
--> 233 ng = self.parameters['ng']
234 boxh = self.parameters['boxh']
235 aexpn = self.parameters["aexpn"]
KeyError: 'ng'
```
Responsible: karraki
More information about the yt-dev
mailing list