[yt-dev] Issue #1291: Simulation parameters in FLASH 2.5 datasets are parsed incorrectly. (yt_analysis/yt)

Kacper Kowalik issues-reply at bitbucket.org
Wed Oct 19 08:21:29 PDT 2016


New issue 1291: Simulation parameters in FLASH 2.5 datasets are parsed incorrectly.
https://bitbucket.org/yt_analysis/yt/issues/1291/simulation-parameters-in-flash-25-datasets

Kacper Kowalik:

As reported by Philipp Girichidis on [yt-users](http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2016-October/008233.html) yt currently fails to properly load FLASH2.5 datasets.

Step to reproduce:

1. `curl -JO http://use.yt/upload/1106d6c4`
2. `python -c 'import yt; yt.load("DensTurbMag_hdf5_plt_cnt_0015")'`

Current result:

```
yt : [INFO     ] 2016-10-19 10:19:06,651 Parameters: current_time              = 4.66839074012e-313
yt : [INFO     ] 2016-10-19 10:19:06,652 Parameters: domain_dimensions         = [1113971554 -402653184 1108822134]
yt : [INFO     ] 2016-10-19 10:19:06,652 Parameters: domain_left_edge          = [ -2.00000000e+18  -2.00000000e+18  -2.00000000e+18]
yt : [INFO     ] 2016-10-19 10:19:06,652 Parameters: domain_right_edge         = [  2.00000000e+18   2.00000000e+18   2.00000000e+18]
yt : [INFO     ] 2016-10-19 10:19:06,652 Parameters: cosmological_simulation   = 0.0
```

Expected result:

```
yt : [INFO     ] 2016-10-19 10:20:38,881 Parameters: current_time              = 751000000000.0
yt : [INFO     ] 2016-10-19 10:20:38,882 Parameters: domain_dimensions         = [8 8 8]
yt : [INFO     ] 2016-10-19 10:20:38,882 Parameters: domain_left_edge          = [ -2.00000000e+18  -2.00000000e+18  -2.00000000e+18]
yt : [INFO     ] 2016-10-19 10:20:38,882 Parameters: domain_right_edge         = [  2.00000000e+18   2.00000000e+18   2.00000000e+18]
yt : [INFO     ] 2016-10-19 10:20:38,883 Parameters: cosmological_simulation   = 0.0
```




More information about the yt-dev mailing list