<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi everyone,<br>
    <br>
    I get an error when executing the simple script below:<br>
    <br>
    <address>------------------------------------------------------------------------------</address>
    <address>from yt.mods import *</address>
    <address>output = 'DD0010/data0010'</address>
    <address>pf = load(output)</address>
    <address>region =
      pf.h.region([0.5,0.5,0.5],[0.0,0.0,0.0],[1.0,1.0,1.0])</address>
    <address>
------------------------------------------------------------------------------</address>
    <br>
    I have pasted the output there:
    http://paste.yt-project.org/show/awqlzVK7mAhtiIVihFfC/<br>
    I think the problem is that my simulation has only 2 particles (no
    gas) and both particles are in subgrids so the root grid is empty:<br>
    <br>
    <address>------------------------------------------------------------------------------</address>
    <address>[19:46:54] Obiwan:$ h5ls DD0010/data0010.cpu0000 </address>
    <address>Grid00000001             Group</address>
    <address>Grid00000002             Group</address>
    <address>Metadata                 Group</address>
    <address>[19:47:09] Obiwan:$ h5ls
      DD0010/data0010.cpu0000/Grid00000001</address>
    <address>[19:47:15] Obiwan:$ h5ls
      DD0010/data0010.cpu0000/Grid00000002</address>
    <address>particle_index           Dataset {2}</address>
    <address>particle_mass            Dataset {2}</address>
    <address>particle_position_x      Dataset {2}</address>
    <address>particle_position_y      Dataset {2}</address>
    <address>particle_position_z      Dataset {2}</address>
    <address>particle_type            Dataset {2}</address>
    <address>particle_velocity_x      Dataset {2}</address>
    <address>particle_velocity_y      Dataset {2}</address>
    <address>particle_velocity_z      Dataset {2}</address>
    <address>------------------------------------------------------------------------------</address>
    <br>
    I would really appreciate if someone could help me to fix this.<br>
    Thanks a lot,<br>
    <br>
    JC<br>
  </body>
</html>