<div dir="ltr"><div><div>Hi Varadarajan,<br><br></div>I believe that the current pluto frontend in yt will only work with Chombo-style output files. If you are using a static grid output format, you will likely have to modify the frontend. <br>
<br></div>Best,<br>Andrew<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 17, 2014 at 2:16 PM, Varadarajan Parthasarathy <span dir="ltr"><<a href="mailto:varada@camk.edu.pl" target="_blank">varada@camk.edu.pl</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">Hi,<div><br></div><div>        I read through the webpages of yt-project and came to know that PLUTO is partly supported for yt and there is still a scope for creating a new code front end. To that extent, I would like to inform with how much I could get into this:</div>

<div><br></div><div>import h5py</div><div>from yt.mods import *</div><div><br></div><div>f = h5py.File("/.../.../testproblem/data.nnnn.dbl.h5", "r")<br></div><div><br></div><div>print f.items()<br></div>

<div><div>[(u'cell_coords', <HDF5 group "/cell_coords" (3 members)>), (u'node_coords', <HDF5 group "/node_coords" (3 members)>), (u'vars', <HDF5 group "/vars" (5 members)>)]</div>

</div><div><br></div><div>print f.keys()</div><div>[u'cell_coords', u'node_coords', u'vars']</div><div><br></div><div>where cell_coords and node_coords are X, Y, Z cell and node contain different values. 'vars' are 'prs', 'rho', 'vx1', 'vx2', 'vx3'.</div>

<div><br></div><div>But after this I am not able to get the data into the dictionary and hence unable to produce plots. I did see through the PLUTO specified field list, but I am not able to make the way out. Also, the simulation was not run with Chombo refinement, but I hope it may not be a serious issue. Moreover, the procedure given in loading a generic array data for HDF5 files was a bit confusing with regard to,<br>

</div><div><br></div><div>data_dir = ytcfg.get('yt','test_data_dir')</div><div>f = h5py.File(data_dir+"/Unigriddata/....h5", "r")</div><div><br></div><div>can anyone explain if this 'test_data_dir' is just the working directory and then 'f' consists of the file, else the procedure that I have followed directly is still correct.</div>

<div><br></div><div>I will be really glad if I can get to do data analysis and other such stuff with yt.</div><div><br></div><div>I hope to hear soon.</div><div><br></div><div>Regards.,</div><div>Varadarajan </div></div>

<br>_______________________________________________<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>