[yt-users] Field list when loading GadgetStaticOutput

Daniel cunnama at gmail.com
Thu Jul 3 09:52:44 PDT 2014


Hi Matt,

Thanks, that helps! Looks like I have some catching up to do!

Kind Regards,
Daniel


On 3 July 2014 18:25, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Daniel,
>
> Ah, that looks like the old deprecated repo.  It's not up to date.
> Try switching your path in your .hg/hgrc from the "yt-3.0" repository
> to the "yt" repository and yt update again?
>
> We want to get rid of the repo and redirect, but there's currently no
> option to do that that also retains PR comments and code review.
>
> -Matt
>
> On Thu, Jul 3, 2014 at 4:48 AM, Daniel <cunnama at gmail.com> wrote:
> > Hi Nathan,
> >
> > Thanks for getting back to me, I have run yt update and I seem to be up
> to
> > date.
> >
> > The io.py on hg seems to be the same as mine or am I confused?
> >
> >
> http://hg.yt-project.org/yt-3.0/src/38fff02747cadf3674047f662f325756143dd225/yt/frontends/sph/io.py?at=yt-3.0
> >
> > Thanks,
> > Daniel
> >
> >
> > On 3 July 2014 10:56, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> >>
> >> 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
> >>>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140703/46b9ff76/attachment.html>


More information about the yt-users mailing list