[yt-users] Field list when loading GadgetStaticOutput

Nathan Goldbaum nathan12343 at gmail.com
Thu Jul 3 01:56:54 PDT 2014


Looks like i made a small mistake copy-pasting the script.  Here's what I
actually used:

http://paste.yt-project.org/show/4878/

The dataset is available here: http://ngoldbaum.net/upbox/snap_505


On Thu, Jul 3, 2014 at 1:52 AM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> Hi Daniel,
>
> I don't see those lines in my local copy of io.py for the SPH frontend.
>  Are you sure you're on the most up-to-date version of yt-3.0?
>
> FWIW, here's what I see when I load a non-cosmological SPH dataset I
> happen to have on hand: http://paste.yt-project.org/show/4877/
>
> -Nathan
>
>
> On Thu, Jul 3, 2014 at 1:17 AM, Daniel <cunnama at gmail.com> wrote:
>
>> Hi there,
>>
>> I am loading in a gadget binary snapshot successfully like so:
>>
>> pf = GadgetStaticOutput("snapshot_050", unit_base = unit_base,
>> bounding_box = bbox)
>>
>> However I do not seem to be loading all the fields. The InternalEnergy,
>> Density and SmoothingLength fields are listed in io.py but don't seemed to
>> be getting called.
>>
>> ~/yt-3.0/yt/frontends/sph/io.py:
>>
>>  _fields = ( "Coordinates",
>>                 "Velocities",
>>                 "ParticleIDs",
>>                 "Mass",
>>                 ("InternalEnergy", "Gas"),
>>                 ("Density", "Gas"),
>>                 ("SmoothingLength", "Gas"),
>>     )
>>
>> Any advice would be greatly appreciated.
>>
>> Kind Regards,
>> Daniel
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140703/60b5eca9/attachment.htm>


More information about the yt-users mailing list