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. Thanks! d. -- -- Sent from a computer.
Hi Dave, I may have some ideas, but I'm at a conference now. I will come back to this in a couple days if no one has any thoughts on this. Britton On Tue, Mar 8, 2016 at 1:45 PM, David Collins <dcollins4096@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.
Thanks!
d.
-- -- Sent from a computer.
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On Tue, Mar 8, 2016 at 2:45 PM, David Collins <dcollins4096@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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@gmail.com> wrote:
On Tue, Mar 8, 2016 at 2:45 PM, David Collins <dcollins4096@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- -- Sent from a computer.
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@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@gmail.com> wrote:
On Tue, Mar 8, 2016 at 2:45 PM, David Collins <dcollins4096@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- -- Sent from a computer.
-- -- Sent from a computer.
participants (3)
-
Britton Smith
-
David Collins
-
Nathan Goldbaum