[yt-users] non-converted fields?

Nathan Goldbaum nathan12343 at gmail.com
Thu Mar 28 12:21:36 PDT 2013


Hi David,

Another option would be to temporarily define a new field that has a null or trivial conversion function.

This field could live in your ~/.yt/my_plugins.py file so no need to touch the yt codebase.

-Nathan

On Mar 28, 2013, at 12:18 PM, David Collins <dcollins4096 at gmail.com> wrote:

> That reads a single grid from the hierarchy?  Can I get yt to do projections and whatnot in those units?
> 
> Previously I had subclassed EnzoStaticOutput with customized conversion factors.  It's a bit outdated.
> 
> Thanks!
> d.
> 
> 
> On Thu, Mar 28, 2013 at 1:09 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> On Thu, Mar 28, 2013 at 3:07 PM, David Collins <dcollins4096 at gmail.com> wrote:
> >
> > Hi!
> >
> > Is there a way to get yt to not convert data to CGS?  I'm doing some
> > debugging, and its easier to see the code units.
> 
> Read the data directly.
> 
> pf.h.io._read_data_set(grid, field)
> 
> >
> > I had a work around for this a while ago, but there has been a bunch of code
> > development since then.
> 
> What was your old way?
> 
> >
> > Thanks!
> > d.
> >
> > _______________________________________________
> > 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/20130328/4c9806af/attachment.htm>


More information about the yt-users mailing list