[yt-users] field parameters and extract_connected_sets

Cameron Hummels chummels at astro.columbia.edu
Fri Oct 21 11:30:13 PDT 2011


Elizabeth,

Recently (~2 weeks ago), I corrected a bug in the code with the "yt 
update" command, where previously running yt update pulled the changes 
but didn't actually rebuild the code.  It should *now* work, but only if 
you've actually been able to rebuild to the current version.  Just as a 
check, run: "yt instinfo -u" once (this function is identical to "yt 
update" but was fixed long ago to rebuild things correctly), and then 
see if your problems go away.  Sorry about this, if I'm the one 
responsible for your woes.

Cameron

On 10/21/11 7:51 AM, Matthew Turk wrote:
> Hi Elizabeth,
>
> On Fri, Oct 21, 2011 at 3:14 AM, Elizabeth Tasker
> <tasker at astro1.sci.hokudai.ac.jp>  wrote:
>> Hi Matt,
>>
>> Still no luck, although possibly I'm updating incorrectly. When I run bin/yt update, I get:
>>
>> yt module located at:
>>   /home/taskere/yt/src/yt-hg
>>
>> The current version of the code is:
>>
>> ---
>> 8bcf892c82d2 (yt) tip
>> ---
>>
>> which isn't the # you list. Does this mean I don't have your fix and if so, how do I get it? :/
> That should have it.  Can you run the test script I wrote, which works
> for me, and tell me if it passes?  If it does not, then there is
> something going on in how you are generating the extraction:
>
> http://paste.yt-project.org/show/1883/
>
> Thanks,
>
> -Matt
>
>> Elizabeth
>>
>>
>> On Oct 20, 2011, at 9:21 PM, Matthew Turk wrote:
>>
>>> Hi Elizabeth,
>>>
>>> Looks like it was only retaining "center", not all the field
>>> parameters.  I've pushed a fix in 5a39ef71743a that should fix the
>>> situation.  Let me know if you run into any more problems!
>>>
>>> -Matt
>>>
>>> On Thu, Oct 20, 2011 at 4:32 AM, Elizabeth Tasker
>>> <tasker at astro1.sci.hokudai.ac.jp>  wrote:
>>>> Hi,
>>>>
>>>> Is there a way of passing field parameters to extract_connected_sets?
>>>>
>>>> Currently,
>>>>
>>>> print dd["NegEscapeVelocity"]
>>>>
>>>> works fine but
>>>>
>>>> contours = dd.extract_connected_sets("NegEscapeVelocity", 1, 30.0, maxv, log_space=False)
>>>>
>>>> complains it can't find the set field variables.
>>>>
>>>> Elizabeth
>>>> _______________________________________________
>>>> 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