<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Nathan,<div class=""><br class=""></div><div class="">thank you for the fast reply. Sorry, I didn’t check the sample data for F2.5 files. I uploaded a small test file here: <a href="http://use.yt/upload/b895e885" class="">http://use.yt/upload/b895e885</a> which is at time 0 (maybe not a very clever idea if the time is read incorrectly) and another file (<a href="http://use.yt/upload/1106d6c4" class="">http://use.yt/upload/1106d6c4</a>) at time 23.8 kyr. The block size is [8,8,8]. </div><div class=""><br class=""></div><div class="">With best regards,</div><div class="">Philipp</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18 Oct 2016, at 15:37, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" class="">nathan12343@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi Phillip,<div class=""><br class=""></div><div class="">I don't think we have any Flash2.5 test data on <a href="http://yt-project.org/data" class="">yt-project.org/data</a>. We use the datasets there in our test suite, so if we don't have any such data that means that our support for a data format <span class=""></span>isn't tested and is subject to breakage.</div><div class=""><br class=""></div><div class="">Would you be willing to share some test data that the yt project can use for debugging purposes? It should be relatively small, should trigger the error you're seeing, and should be ok to host publicly on <a href="http://yt-project.org/data" class="">yt-project.org/data</a> and use in our test suite. If so, we can look into restoring support and making sure we don't regress again.</div><div class=""><br class=""></div><div class="">You can share the data using e.g. Dropbox, google drive, or by using the yt curldrop:</div><div class=""><br class=""></div><div class=""><a href="https://docs.hub.yt/services.html#curldrop" class="">https://docs.hub.yt/services.html#curldrop</a><br class=""></div><div class=""><br class=""></div><div class="">Nathan</div><div class=""><br class="">On Tuesday, October 18, 2016, Philipp Girichidis <<a href="mailto:keule-phg@gmx.de" class="">keule-phg@gmx.de</a>> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear YT users,<br class="">
<br class="">
I upgraded my version of YT from an older version that still installed the libraries on its own (version downloaded 2016/06/21) to a more recent version using yt-conda. With the new version I cannot read old FLASH2.5 data any more. The previous version of yt gave me the correct output<br class="">
<br class="">
yt : [INFO ] 2016-09-09 16:37:59,285 Parameters: current_time = 1260000000.0<br class="">
yt : [INFO ] 2016-09-09 16:37:59,286 Parameters: domain_dimensions = [8 8 8]<br class="">
yt : [INFO ] 2016-09-09 16:37:59,289 Parameters: domain_left_edge = [ -4.00000000e+17 -4.00000000e+17 -4.00000000e+17]<br class="">
yt : [INFO ] 2016-09-09 16:37:59,290 Parameters: domain_right_edge = [ 4.00000000e+17 4.00000000e+17 4.00000000e+17]<br class="">
yt : [INFO ] 2016-09-09 16:37:59,291 Parameters: cosmological_simulation = 0.0<br class="">
<br class="">
the new version does not read some of the numbers properly,<br class="">
<br class="">
yt : [INFO ] 2016-09-09 16:39:11,692 Parameters: current_time = 1.06099789548e-313<br class="">
yt : [INFO ] 2016-09-09 16:39:11,692 Parameters: domain_dimensions = [1104332420 0 1102957925]<br class="">
yt : [INFO ] 2016-09-09 16:39:11,693 Parameters: domain_left_edge = [ -4.00000000e+17 -4.00000000e+17 -4.00000000e+17]<br class="">
yt : [INFO ] 2016-09-09 16:39:11,694 Parameters: domain_right_edge = [ 4.00000000e+17 4.00000000e+17 4.00000000e+17]<br class="">
yt : [INFO ] 2016-09-09 16:39:11,695 Parameters: cosmological_simulation = 0.0<br class="">
<br class="">
The time value as well as the dimensions are messed up and thus yt crashes with a memory error at some point. To me it looks like a conversion problem between big and little endian or some similar conversion problem between single and double precision. I tried various combinations of MAC and linux and the problem does not seem to operating system dependent.<br class="">
<br class="">
Quite a few functions have changed in terms of reading particle data, but the simulation does not contain particles. I tried to find the part of the code that reads the domain_dimensions and looked at file<br class="">
yt-conda/lib/python2.7/site-<wbr class="">packages/yt/frontends/flash/<wbr class="">data_structures.py<br class="">
where in line 99ff the block dimensions are read. But this part of the code is not executed (checked with print statements in iyt). Loading the hdf5 file with h5py and using the code in line 104 gives me the correct numbers, but I guess yt reads the data from somewhere else?<br class="">
<br class="">
Any hints on how the hierarchy of reading data is organized or where to search? I know FLASH2.5 is very old but we still have a lot of (quite expensive) F2.5 data.<br class="">
<br class="">
With best regards,<br class="">
Philipp Girichidis<br class="">
______________________________<wbr class="">_________________<br class="">
yt-users mailing list<br class="">
<a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')" class="">yt-users@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank" class="">http://lists.spacepope.org/<wbr class="">listinfo.cgi/yt-users-<wbr class="">spacepope.org</a><br class="">
</blockquote></div>
_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>