[yt-users] Loading and writing clumps

David Collins dcollins4096 at gmail.com
Wed Mar 9 07:45:52 PST 2016


Hi, Everyone--

Here's a self contained script that demonstrates the issue with pickling
clump objects.  Note that if you pickle and then unpickle in the same
interpreter instance, whatever needs to be cached is still extant, but gets
lost if you unpickle in a new instance.

This uses an on-the-fly sphere that came from the PPV cube doc.  (The PPV
cubes are awesome, by the way, thanks so much!)

http://pastebin.com/5ZkY0zpk

On Tue, Mar 8, 2016 at 4:40 PM, David Collins <dcollins4096 at gmail.com>
wrote:

> Awesome, thanks, Britton.
>
> Nathan, I'll see if I can make a simple test and see if it's a bug.
>
> Thanks guys!
>
> d.
>
> On Tue, Mar 8, 2016 at 4:30 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
>
>>
>>
>> On Tue, Mar 8, 2016 at 2:45 PM, David Collins <dcollins4096 at gmail.com>
>> wrote:
>>
>>> Hi, Everybody--
>>>
>>> In yt3, is there a serialization method for clumps?
>>> I've tried pickling, and that seems to fail due to the lack of a
>>> countours_<long hash> field.
>>>
>>>
>> I think pickle is supposed to work. This smells vaguely like a bug to me.
>>
>>
>>> 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.
>



-- 
-- Sent from a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160309/eb5de969/attachment.html>


More information about the yt-users mailing list