<div dir="ltr">Hi again,<div><br></div><div>I can confirm that downgrading h5py from 2.6.0 to 2.5.0 fixed the issue for me.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace">>>> ds = yt.load("DensTurbMag_hdf5_plt_cnt_0015")<br></font><font face="monospace, monospace">yt : [INFO ] 2016-10-19 18:56:40,998 Parameters: current_time = 751000000000.0<br></font><font face="monospace, monospace">yt : [INFO ] 2016-10-19 18:56:40,999 Parameters: domain_dimensions = [8 8 8]<br></font><font face="monospace, monospace">yt : [INFO ] 2016-10-19 18:56:40,999 Parameters: domain_left_edge = [ -2.00000000e+18 -2.00000000e+18 -2.00000000e+18]<br></font><font face="monospace, monospace">yt : [INFO ] 2016-10-19 18:56:40,999 Parameters: domain_right_edge = [ 2.00000000e+18 2.00000000e+18 2.00000000e+18]<br></font><font face="monospace, monospace">yt : [INFO ] 2016-10-19 18:56:40,999 Parameters: cosmological_simulation = 0.0</font></blockquote></div><div><br></div><div>Best regards,</div><div>Dominik</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-19 18:11 GMT+02:00 Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So it turns out this is due to a regression in the h5py library:<div><br></div><div><a href="https://github.com/h5py/h5py/issues/764" target="_blank">https://github.com/h5py/h5py/<wbr>issues/764</a><br></div><div><br></div><div>If you'd like a quick workaround without Kacper's pull request, you just need to forcibly downgrade h5py:</div><div><br></div><div> $ conda uninstall h5py</div><div> $ conda install h5py==2.5.0</div><div><br></div><div>or if you use pip:</div><div><br></div><div> $ pip uninstall h5py</div><div> $ pip install h5py==2.5.0</div><div><br></div><div>Hopefully Kacper's fix will be in by the time we release yt 3.3.2 and you'll be able to upgrade h5py once again and hopefully the h5py bug will be fixed by the time the next version fo h5py comes out.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Nathan</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 11:05 AM, Philipp <span dir="ltr"><<a href="mailto:keule-phg@gmx.de" target="_blank">keule-phg@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Kacper,<br>
<br>
sure you can add those files to the official testing suite!<br>
<br>
<br>
Dear Alex,<br>
<br>
I installed yt on a “clean” machine using pip and I still get the error that also Dominik confirmed.<br>
<br>
Thank you and best regards,<br>
Philipp<br>
<div class="m_2495466698145701960HOEnZb"><div class="m_2495466698145701960h5"><br>
<br>
> On 19 Oct 2016, at 17:33, Kacper Kowalik <<a href="mailto:xarthisius.kk@gmail.com" target="_blank">xarthisius.kk@gmail.com</a>> wrote:<br>
><br>
> On 10/18/2016 09:11 AM, Philipp wrote:<br>
>> Hi Nathan,<br>
>><br>
>> thank you for the fast reply. Sorry, I didn’t check the sample data<br>
>> for F2.5 files. I uploaded a small test file here:<br>
>> <a href="http://use.yt/upload/b895e885" rel="noreferrer" target="_blank">http://use.yt/upload/b895e885</a> <<a href="http://use.yt/upload/b895e885" rel="noreferrer" target="_blank">http://use.yt/upload/b895e885</a><wbr>> which<br>
>> is at time 0 (maybe not a very clever idea if the time is read<br>
>> incorrectly) and another file (<a href="http://use.yt/upload/1106d6c4" rel="noreferrer" target="_blank">http://use.yt/upload/1106d6c4</a><br>
>> <<a href="http://use.yt/upload/1106d6c4" rel="noreferrer" target="_blank">http://use.yt/upload/1106d6c4</a><wbr>>) at time 23.8 kyr. The block size is<br>
>> [8,8,8].<br>
>><br>
>> With best regards,<br>
>> Philipp<br>
><br>
> Hi Phillip,<br>
> can I add those datasets to yt's testing suite? That mandates having<br>
> them publicly available at <a href="http://yt-project.org/data/" rel="noreferrer" target="_blank">http://yt-project.org/data/</a><br>
><br>
> I've also opened PR 2421 [1] that hopefully will fix the issue you're<br>
> seeing.<br>
><br>
> Cheers,<br>
> Kacper<br>
><br>
> [1] <a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2421" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analy<wbr>sis/yt/pull-requests/2421</a><br>
><br>
><br>
>>> On 18 Oct 2016, at 15:37, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>> Hi Phillip,<br>
>>><br>
>>> I don't think we have any Flash2.5 test data on <a href="http://yt-project.org/data" rel="noreferrer" target="_blank">yt-project.org/data</a><br>
>>> <<a href="http://yt-project.org/data" rel="noreferrer" target="_blank">http://yt-project.org/data</a>>. We use the datasets there in our test<br>
>>> suite, so if we don't have any such data that means that our<br>
>>> support for a data format isn't tested and is subject to breakage.<br>
>>><br>
>>> Would you be willing to share some test data that the yt project<br>
>>> can use for debugging purposes? It should be relatively small,<br>
>>> should trigger the error you're seeing, and should be ok to host<br>
>>> publicly on <a href="http://yt-project.org/data" rel="noreferrer" target="_blank">yt-project.org/data</a> <<a href="http://yt-project.org/data" rel="noreferrer" target="_blank">http://yt-project.org/data</a>> and<br>
>>> use in our test suite. If so, we can look into restoring support<br>
>>> and making sure we don't regress again.<br>
>>><br>
>>> You can share the data using e.g. Dropbox, google drive, or by<br>
>>> using the yt curldrop:<br>
>>><br>
>>> <a href="https://docs.hub.yt/services.html#curldrop" rel="noreferrer" target="_blank">https://docs.hub.yt/services.h<wbr>tml#curldrop</a><br>
>>> <<a href="https://docs.hub.yt/services.html#curldrop" rel="noreferrer" target="_blank">https://docs.hub.yt/services.<wbr>html#curldrop</a>><br>
>>><br>
>>> Nathan<br>
>>><br>
>>> On Tuesday, October 18, 2016, Philipp Girichidis <<a href="mailto:keule-phg@gmx.de" target="_blank">keule-phg@gmx.de</a><br>
>>> <mailto:<a href="mailto:keule-phg@gmx.de" target="_blank">keule-phg@gmx.de</a>>> wrote: Dear YT users,<br>
>>><br>
>>> I upgraded my version of YT from an older version that still<br>
>>> installed the libraries on its own (version downloaded 2016/06/21)<br>
>>> to a more recent version using yt-conda. With the new version I<br>
>>> cannot read old FLASH2.5 data any more. The previous version of yt<br>
>>> gave me the correct output<br>
>>><br>
>>> yt : [INFO ] 2016-09-09 16:37:59,285 Parameters: current_time<br>
>>> = 1260000000.0 yt : [INFO ] 2016-09-09 16:37:59,286 Parameters:<br>
>>> domain_dimensions = [8 8 8] yt : [INFO ] 2016-09-09<br>
>>> 16:37:59,289 Parameters: domain_left_edge = [<br>
>>> -4.00000000e+17 -4.00000000e+17 -4.00000000e+17] yt : [INFO ]<br>
>>> 2016-09-09 16:37:59,290 Parameters: domain_right_edge = [<br>
>>> 4.00000000e+17 4.00000000e+17 4.00000000e+17] yt : [INFO ]<br>
>>> 2016-09-09 16:37:59,291 Parameters: cosmological_simulation =<br>
>>> 0.0<br>
>>><br>
>>> the new version does not read some of the numbers properly,<br>
>>><br>
>>> yt : [INFO ] 2016-09-09 16:39:11,692 Parameters: current_time<br>
>>> = 1.06099789548e-313 yt : [INFO ] 2016-09-09 16:39:11,692<br>
>>> Parameters: domain_dimensions = [1104332420 0<br>
>>> 1102957925] yt : [INFO ] 2016-09-09 16:39:11,693 Parameters:<br>
>>> domain_left_edge = [ -4.00000000e+17 -4.00000000e+17<br>
>>> -4.00000000e+17] yt : [INFO ] 2016-09-09 16:39:11,694<br>
>>> Parameters: domain_right_edge = [ 4.00000000e+17<br>
>>> 4.00000000e+17 4.00000000e+17] yt : [INFO ] 2016-09-09<br>
>>> 16:39:11,695 Parameters: cosmological_simulation = 0.0<br>
>>><br>
>>> The time value as well as the dimensions are messed up and thus yt<br>
>>> crashes with a memory error at some point. To me it looks like a<br>
>>> conversion problem between big and little endian or some similar<br>
>>> conversion problem between single and double precision. I tried<br>
>>> various combinations of MAC and linux and the problem does not seem<br>
>>> to operating system dependent.<br>
>>><br>
>>> Quite a few functions have changed in terms of reading particle<br>
>>> data, but the simulation does not contain particles. I tried to<br>
>>> find the part of the code that reads the domain_dimensions and<br>
>>> looked at file<br>
>>> yt-conda/lib/python2.7/site-pa<wbr>ckages/yt/frontends/flash/data<wbr>_structures.py<br>
>>><br>
>>><br>
> where in line 99ff the block dimensions are read. But this part of the<br>
> code is not executed (checked with print statements in iyt). Loading the<br>
> hdf5 file with h5py and using the code in line 104 gives me the correct<br>
> numbers, but I guess yt reads the data from somewhere else?<br>
>>><br>
>>> Any hints on how the hierarchy of reading data is organized or<br>
>>> where to search? I know FLASH2.5 is very old but we still have a<br>
>>> lot of (quite expensive) F2.5 data.<br>
>>><br>
>>> With best regards, Philipp Girichidis<br>
>>> ______________________________<wbr>_________________ yt-users mailing<br>
>>> list <a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a> <javascript:;><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>
>>> <<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/li<wbr>stinfo.cgi/yt-users-spacepope.<wbr>org</a>><br>
>>> ______________________________<wbr>_________________ yt-users mailing<br>
>>> list <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>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________ yt-users mailing<br>
>> list <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>
><br>
><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>
______________________________<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>
</div></div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dominik Derigs<br>I. Physikalisches Institut<br>Universität zu Köln<br>Zülpicher Straße 77<br>50937 Köln<br>GERMANY</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://hera.ph1.uni-koeln.de/~derigs/" target="_blank">https://hera.ph1.uni-koeln.de/~derigs/</a><br><br>Tel. (+49|0) 221 470-8352<br>Fax. (+49|0) 221 470-5162<br><br>Diese Email ist vertraulich und nur für den angegebenen Empfänger bestimmt. Zugang, Freigabe, die Kopie, die Verteilung oder Weiterleitung durch jemand anderen außer dem Empfänger selbst ist verboten und kann eine kriminelle Handlung sein. Bitte löschen Sie die Email, wenn Sie sie durch einen Fehler erhalten haben und informieren Sie den Absender.<br><br>This email and any files transmitted with it may contain confidential and/or privileged material and is intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error, please notify the sender immediately and delete this material from all known records.</div></div></div></div></div></div></div></div>
</div>