[yt-users] Loading gadget snapshot

Matthew Turk matthewturk at gmail.com
Mon Aug 4 15:49:11 PDT 2014


Hi Jared,

There's a bit more info, and examples of how to load Gadget, here:

http://yt-project.org/docs/3.0/examining/loading_data.html#gadget-data

This includes some notes about bounding boxes, field names, indexing,
units, and so forth.

-Matt

On Mon, Aug 4, 2014 at 5:44 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> Ah yes, that's right. Someone needs to implement a way to distinguish
> between gadget binary files (by parsing the header?) and any old random
> file.  A pull request that implements this would be very welcome. We have
> implemented a way to do this for tipsy binary files, so I think it's just a
> matter of doing the work to get that in place.
>
>
> On Mon, Aug 4, 2014 at 3:42 PM, Britton Smith <brittonsmith at gmail.com>
> wrote:
>>
>> Hi Nathan, Jared,
>>
>> I can confirm that yt.load is not working with the snapshot_010 data on
>> the current tip.  However, the following does work:
>> ds = yt.GadgetDataset("snapshot_001")
>>
>> Britton
>>
>>
>> On Mon, Aug 4, 2014 at 11:23 PM, Nathan Goldbaum <nathan12343 at gmail.com>
>> wrote:
>>>
>>> Hi Jared,
>>>
>>> Using a pastebin (e.g. paste.yt-project.org), could you paste the full
>>> output of "yt version", run from the bash command line?
>>>
>>> Best,
>>>
>>> Nathan
>>>
>>>
>>> On Mon, Aug 4, 2014 at 2:53 PM, Jared Coughlin
>>> <Jared.W.Coughlin.29 at nd.edu> wrote:
>>>>
>>>> Hello! I'm a grad student working with gadget, and someone told me today
>>>> about version 3, which supports gadget! I have never used yt before, as it
>>>> has never supported sph before, so if this is a really stupid question,
>>>> please forgive me.  I followed the bootcamp examples just fine, and then
>>>> tried to load in a gadget snapshot (obtained from the sample datasets
>>>> portion of yt's website) by doing yt.load("snapshot_010").  I got the
>>>> following error: yt.utilities.exceptions.YTOutputNotIdentified: Supplied
>>>> ('snapshot_010',) {}, but could not load!
>>>>
>>>> Then I tried yt.load("snapshot_010", "gadget_binary"), but got the same
>>>> error. Clearly, I am misunderstanding something very important here.  I
>>>> looked at the source and saw the GadgetBinaryFile class, so I know it can be
>>>> done, I just can't figure out how. Very sorry for the bother.  Any help
>>>> would be greatly appreciated! Thank you very much!
>>>> -Jared
>>>>
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list