[yt-users] Changing the default logging

Nathan Goldbaum nathan12343 at gmail.com
Wed Dec 10 11:30:34 PST 2014


On Wed, Dec 10, 2014 at 11:19 AM, David Collins <dcollins4096 at gmail.com>
wrote:

> http://nbviewer.ipython.org/gist/ngoldbaum/be4cb91f38415e163af4
>>
>> Care to share your script where the automatic switching doesn't get
>> triggered?
>>
>>
> Oops, sorry, my mistake-- I had an error with my path, and wasn't using
> the version I intended to be using.
> Is there a way to get the changeset from the yt module, rather than
> mercurial?  That would reduce pebkac errors.
>

Yup, use "yt version":

$ yt version

yt module located at:
    /home/goldbaum/Documents/yt-hg

The current version and changeset for the code is:

---
Version = 3.1-dev
Changeset = 9d96ac2cfc30 (yt)
---

This installation CAN be automatically updated.
Could not determine when yt stack was last updated.


It also tells you the location of the active installation.


>
> This auto symlog is fantastic, thanks a ton!
>

Massive props to Suoqing for getting this working in such a natural way.


>
>
d.
>
>
>> On Wed, Dec 10, 2014 at 8:57 AM, David Collins <dcollins4096 at gmail.com>
>> wrote:
>>
>>>
>>> tricky to do universally.  I'll take a look and see if we can come up
>>>> with a way to do.
>>>>
>>>
>>> Groovy.  No hurry.  For now, what I've been doing is
>>> >>> pf =yt.load()
>>> >>> pf.create_field_info()
>>> >>> pf.field_info[('enzo','Bx')].take_log = False
>>>
>>> Is that a necessary and sufficient set of steps?
>>>
>>> PS Suoqing Ji just added a symmetric log plot that should turn on by
>>>> default.  :)
>>>>
>>>
>>> Oh, sweet.  Where is it, and how to I switch it on?  I updated to
>>> >>> yt.__version__
>>> '3.1-dev'
>>> e936ed325441
>>> but a plot of Bx still looks all nan-y
>>>
>>> d.
>>>
>>>
>>>>
>>>> On Wed, Dec 10, 2014 at 10:09 AM, David Collins <dcollins4096 at gmail.com>
>>>> wrote:
>>>> > Hi, everyone--
>>>> >
>>>> > I apologize if this was discussed already.  I noticed that in yt3.0,
>>>> > magnetic field values have take_log=True, by default (these are the
>>>> > ('enzo','Bx') types of fields)  Is there an easy way to change that
>>>> > universally (like in the plugins file, or better something more
>>>> fundamental,
>>>> > since I imagine that this will be the desired effect for most users)
>>>> >
>>>> > Thanks!
>>>> > d.
>>>> >
>>>> > --
>>>> > -- Sent from a computer.
>>>> >
>>>> > _______________________________________________
>>>> > 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
>>>>
>>>
>>>
>>>
>>> --
>>> -- Sent from a computer.
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> -- Sent from a computer.
>
> _______________________________________________
> 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/20141210/cc6a8d11/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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