<div dir="ltr">Hi Matt,<div><br></div><div>Thanks, that helps! Looks like I have some catching up to do!</div><div><br></div><div>Kind Regards,</div><div>Daniel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On 3 July 2014 18:25, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Daniel,<br>
<br>
Ah, that looks like the old deprecated repo.  It's not up to date.<br>
Try switching your path in your .hg/hgrc from the "yt-3.0" repository<br>
to the "yt" repository and yt update again?<br>
<br>
We want to get rid of the repo and redirect, but there's currently no<br>
option to do that that also retains PR comments and code review.<br>
<br>
-Matt<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jul 3, 2014 at 4:48 AM, Daniel <<a href="mailto:cunnama@gmail.com">cunnama@gmail.com</a>> wrote:<br>
> Hi Nathan,<br>
><br>
> Thanks for getting back to me, I have run yt update and I seem to be up to<br>
> date.<br>
><br>
> The io.py on hg seems to be the same as mine or am I confused?<br>
><br>
> <a href="http://hg.yt-project.org/yt-3.0/src/38fff02747cadf3674047f662f325756143dd225/yt/frontends/sph/io.py?at=yt-3.0" target="_blank">http://hg.yt-project.org/yt-3.0/src/38fff02747cadf3674047f662f325756143dd225/yt/frontends/sph/io.py?at=yt-3.0</a><br>


><br>
> Thanks,<br>
> Daniel<br>
><br>
><br>
> On 3 July 2014 10:56, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br>
>><br>
>> Looks like i made a small mistake copy-pasting the script.  Here's what I<br>
>> actually used:<br>
>><br>
>> <a href="http://paste.yt-project.org/show/4878/" target="_blank">http://paste.yt-project.org/show/4878/</a><br>
>><br>
>> The dataset is available here: <a href="http://ngoldbaum.net/upbox/snap_505" target="_blank">http://ngoldbaum.net/upbox/snap_505</a><br>
>><br>
>><br>
>> On Thu, Jul 3, 2014 at 1:52 AM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Daniel,<br>
>>><br>
>>> I don't see those lines in my local copy of io.py for the SPH frontend.<br>
>>> Are you sure you're on the most up-to-date version of yt-3.0?<br>
>>><br>
>>> FWIW, here's what I see when I load a non-cosmological SPH dataset I<br>
>>> happen to have on hand: <a href="http://paste.yt-project.org/show/4877/" target="_blank">http://paste.yt-project.org/show/4877/</a><br>
>>><br>
>>> -Nathan<br>
>>><br>
>>><br>
>>> On Thu, Jul 3, 2014 at 1:17 AM, Daniel <<a href="mailto:cunnama@gmail.com">cunnama@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hi there,<br>
>>>><br>
>>>> I am loading in a gadget binary snapshot successfully like so:<br>
>>>><br>
>>>> pf = GadgetStaticOutput("snapshot_050", unit_base = unit_base,<br>
>>>> bounding_box = bbox)<br>
>>>><br>
>>>> However I do not seem to be loading all the fields. The InternalEnergy,<br>
>>>> Density and SmoothingLength fields are listed in io.py but don't seemed to<br>
>>>> be getting called.<br>
>>>><br>
>>>> ~/yt-3.0/yt/frontends/sph/io.py:<br>
>>>><br>
>>>>  _fields = ( "Coordinates",<br>
>>>>                 "Velocities",<br>
>>>>                 "ParticleIDs",<br>
>>>>                 "Mass",<br>
>>>>                 ("InternalEnergy", "Gas"),<br>
>>>>                 ("Density", "Gas"),<br>
>>>>                 ("SmoothingLength", "Gas"),<br>
>>>>     )<br>
>>>><br>
>>>> Any advice would be greatly appreciated.<br>
>>>><br>
>>>> Kind Regards,<br>
>>>> Daniel<br>
>>>><br>
>>>><br>
>>>><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>
>>><br>
>><br>
>><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>
><br>
><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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>