<div dir="ltr">I've opened a pull request with a fix:<br><br><a href="https://github.com/yt-project/yt/pull/1665">https://github.com/yt-project/yt/pull/1665</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 1:29 PM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No worries at all. Really appreciate you looking at this. <br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 7:26 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah, apologies, missed that in your first e-mail.<br></div><div class="m_-3072920321456775597HOEnZb"><div class="m_-3072920321456775597h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 1:24 PM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Nathan, <br><br></div>The 12 GB folder should be available at the link I sent in the first email. Here it is: <span><a href="https://www.dropbox.com/sh/o6acuvia1sqyp7y/AAC0lEI5lZ6bGa0tP2-G1jLea?dl=0" target="_blank">https://www.dropbox.com/sh/o6a<wbr>cuvia1sqyp7y/AAC0lEI5lZ6bGa0tP<wbr>2-G1jLea?dl=0</a><br><br></span></div><span>If you run the script I sent it will fail pretty quickly with a traceback. Let me know if that works. <br> <br></span><div><div class="m_-3072920321456775597m_6810720722932953951h5"><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 6:50 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It would probably be best to share the full output. I might just need to see the traceback too, it's hard to say what will help without actually being able to see it :)<br></div><div><br></div>Is there any chance you can make a smaller output with similar active particle fields? I can also download the 12 GB if you make it publicly visible online somewhere.<div><div class="m_-3072920321456775597m_6810720722932953951m_-5418068459478245711gmail-h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 12:42 PM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Nathan , <br><br></div>Thanks for the email. If I sent you the exact hdf5 file (i.e. the .cpuXXXX file) would that would and the traceback? You could see the format the array gets written then....<br><br></div>It wasn't clear to me from reading through the YT reader would work.<br><br></div>Cheers,<br></div>John<div><div class="m_-3072920321456775597m_6810720722932953951m_-5418068459478245711gmail-m_1846893936551880238m_2883387056395825303h5"><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 3:43 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 3:43 AM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi All, <br><br></div>I'm trying to get YT to read a vector which is stored as part of particle structure in Enzo (a vector in the active particle structure). The data looks OK when I view the raw HDF5 data using hdfview. I find that in some snapshots YT can read the data but not in others. If there is more than one particle things get worse for sure. <br><br></div>It could be that when writing to the HDF5 file I haven't put the data in a format that is compatible with YT. <br><br></div>I've attached a simple script that will fall over when trying to read the data and a link to the enzo output (size = 12 GBs). The active particles are in files DD0120.cpu0022 (Grid 3072), DD0120.cpu0023 (Grid 3076) and DD0014 (Grid 3080). YT falls over in the io_handler but it's not obvious to me whether I need to modify that code or the format that I write the data to the HDF5 file in. <br></div></div></div></div></div></blockquote><br></div></span><div class="gmail_quote">It's hard to say if there's an issue on the Enzo side or the yt side without a copy of the traceback you are seeing or a way to reproduce the issue. I'm also not sure what your data format looks like offhand. If I remember correctly, you added support for vector active particle attributes to your fork of Enzo and it's entirely possible that there needs to be updates on the yt side to support reading the data from your fork.<br></div><div class="gmail_quote"><br>I suspect the place you need to modify in yt is here:<br><div><br><a href="https://github.com/yt-project/yt/blob/eb3358c622bc047200b9bc6a954ddee8f59a0e07/yt/frontends/enzo/io.py#L92-L113" target="_blank">https://github.com/yt-project/<wbr>yt/blob/eb3358c622bc047200b9bc<wbr>6a954ddee8f59a0e07/yt/frontend<wbr>s/enzo/io.py#L92-L113</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><div><div><div><br></div>Any help/pointers would be much appreciated. <br><br></div>Cheers,<br></div>John<br><br></div>Link to dataset:<br><a href="https://www.dropbox.com/sh/o6acuvia1sqyp7y/AAC0lEI5lZ6bGa0tP2-G1jLea?dl=0" target="_blank">https://www.dropbox.com/sh/o6a<wbr>cuvia1sqyp7y/AAC0lEI5lZ6bGa0tP<wbr>2-G1jLea?dl=0</a><br></div>
<br></span>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.o<wbr>rg</a><br>
<br></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.o<wbr>rg</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.o<wbr>rg</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.o<wbr>rg</a><br>
<br></blockquote></div><br></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.o<wbr>rg</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.<wbr>org</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div>