<div dir="ltr"><div>Hi All, <br><br></div><div>I'm having trouble reading Active Particle data from Enzo-3.0 outputs. <br><br>.<br>.<br>.<br>dd = pf.h.all_data()<br>print dd["RadiationParticle", "particle_position_x"]<br>
</div><div>.<br>.<br><br></div><div>gives <br><br> File "PrintActiveParticleInfo.py", line 18, in <module><br>    print dd["RadiationParticle", "particle_position_x"]<br>  File "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 325, in __getitem__<br>
    self.get_data(key)<br>  File "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 2627, in get_data<br>    if self._generate_field(field):<br>  File "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 358, in _generate_field<br>
    raise KeyError(field)<br>KeyError: ('RadiationParticle', 'particle_position_x')<br><br></div><div>From dumping the hdf5 file the dataset (particle_position_x) exists in the group RadiationParticle. <br>
</div><div>I'm probably missing something simple.... but any hints would be appreciated!<br></div><div>Oh I'm using yt-2.7.dev<br></div><div><br></div><div>John<br><br><br></div><div>P.S. <br></div>Is there documentation on the yt website for reading Enzo-3.0 outputs? <br>
<br><br><br>(yt-x86_64)[regan@taito-login3 GeneralRoutines]$ yt version<br><br>yt module located at:<br>    /homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg<br>The supplemental repositories are located at:<br>    /homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-supplemental<br>
<br>The current version and changeset for the code is:<br><br>---<br>Version = 2.7-dev<br>Changeset = e89295c7393d<br>---<br><br>This installation CAN be automatically updated.<br>yt dependencies were last updated on<br>Tue Dec  3 18:24:50 EET 2013<br>
<br>To update all dependencies, run "yt update --all".<br>(yt-x86_64)[regan@taito-login3 GeneralRoutines]$ <br><br><br></div>