<div dir="ltr">I think the most straightforward thing to do here is to fix the Gadget frontend so it properly reads in gadget binary data with positions written in double precision.<div><br></div><div>Is there any chance you can generate a smallish test dataset in your Gadget output format that we can use for debugging purposes? With that available it should be straightforward to add support. You can share the dataset using the yt curldrop (<a href="https://docs.hub.yt/services.html#curldrop" target="_blank">https://docs.hub.yt/services.<wbr>html#curldrop</a>) or a cloud filesharing service like dropbox or google drive.</div><div><br></div><div>Unfortunately there isn't a way to load SPH data without a full-fledged frontend right now.</div><div><br></div><div>We do have a load_particles function which allows creating a dataset from particle data loaded as numpy arrays, but it's currently not possible to use it to load SPH data. </div><div><br></div><div>I'm currently actively working on improving support for SPH data in yt and adding the ability to load SPH data with load_particles is one of the things I've added in that branch of the code. Hopefully this work will be stabilized sometime in the next few months.<br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 3, 2017 at 11:45 PM, Alankar Dutta <span dir="ltr"><<a href="mailto:dutta.alankar@gmail.com" target="_blank">dutta.alankar@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><div><div>Hello yt-community,<br><br>I am a beginner on yt. I have an array of data which I have read from a Gadget simulation snapshot. It is not directly supported by yt at present (I have ensured this by already discussing this issue in the community before). The array has position,velocity, density, mass, internal energy and smoothing length information on the gas particles. Now how can I use this to make the slice plots or other useful visualizations?<span class="m_-832106199985279372HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_-832106199985279372HOEnZb"><font color="#888888">Alankar Dutta,<br></font></span></div><span class="m_-832106199985279372HOEnZb"><font color="#888888">Third year Undergraduate,<br></font></span></div><span class="m_-832106199985279372HOEnZb"><font color="#888888">Physics Department,<br></font></span></div><span class="m_-832106199985279372HOEnZb"><font color="#888888">Presidency University, India<br></font></span></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>