[yt-users] Deprecation Woes

Munier Azzam Salem msalem at astro.columbia.edu
Tue Oct 7 10:54:54 PDT 2014


Hey Guys,

         A false sense of complacency / hubris led me to update my dev
version of yt ... I thought "how much damage could this do?" ... well ...
After updating 50 derived fields in my analysis scripts, I have learned a
valuable life lesson. Well played yt. Well played. But I digress ...

        One of the deprecated usages I couldn't figure out how to fix
involves pulling units from a pf object. Specifically I'd like to do this:

       pf.units['cm']

       Alternatives I could live with: finding the length of a side of the
simulation box in CGS, some way to convert between code and physical units,
etc ...

       I'm working with enzo, if that matters.

          cheers,
                Munier


-- 
Munier A. Salem // 845.489.6450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141007/9fd3ac8c/attachment.htm>


More information about the yt-users mailing list