errors and errors again ....<div>I've just tried with the Aquarius output00193, that's what came out</div><div><br></div><div><div>>>> from yt.mods import *</div><div>>>> pf=load("output_00193/info_00193.txt")</div>
<div>output_00193/amr_00193.out00001</div><div>yt : [INFO     ] 2011-04-25 20:03:16,190 Parameters: current_time              = 2.63505747731e+13</div><div>yt : [INFO     ] 2011-04-25 20:03:16,190 Parameters: domain_dimensions         = [2 2 2]</div>
<div>yt : [INFO     ] 2011-04-25 20:03:16,191 Parameters: domain_left_edge          = [ 0.  0.  0.]</div><div>yt : [INFO     ] 2011-04-25 20:03:16,191 Parameters: domain_right_edge         = [ 1.  1.  1.]</div><div>yt : [ERROR    ] 2011-04-25 20:03:16,191 Missing cosmological_simulation in parameter file definition!</div>
<div><br></div><div><br></div><div>help, please?</div><div><br></div><div>I'll be really glad to help with the code but I'm very busy with other stuffs right now ...</div><br><div class="gmail_quote">2011/4/25 Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Sam,<br>
<div class="im"><br>
On Mon, Apr 25, 2011 at 10:29 AM, Sam Geen <<a href="mailto:samgeen@astro.ox.ac.uk">samgeen@astro.ox.ac.uk</a>> wrote:<br>
> Ah, looks like I misinterpreted this - I guess "load" works for Ramses now?<br>
<br>
</div>I think it ought to; it worked for me.  I'm actually experimenting<br>
with a test dataset right now, the Aquarius output00193 dataset that<br>
Pymses provides.  It's relatively small (1.2e7 total cells after<br>
regridding, 64 processors) but I am able to slice in 3 seconds and<br>
project in 14; the regridding takes almost no time at all.<br>
<br>
Perhaps adding particles and optimizing things might be more<br>
approachable than I expected.  Are you signed up for yt-dev?  We<br>
should perhaps flesh this out over there.  (I had on my schedule today<br>
a reply to our off-list email exchange from a few weeks ago, by the<br>
way, but this came up before I had the opportunity to continue it.)<br>
<br>
My test script, for what it's worth, is here:<br>
<a href="http://paste.enzotools.org/show/1595/" target="_blank">http://paste.enzotools.org/show/1595/</a><br>
<br>
Best,<br>
<br>
Matt<br>
<div><div></div><div class="h5"><br>
><br>
> On 25/04/2011 15:26, Sam Geen wrote:<br>
><br>
> Hi Matteo,<br>
><br>
> I had this problem - try using RAMSESStaticOutput instead of load. In my<br>
> experience, YT needs some optimisation with Ramses in any case, but if your<br>
> simulation is only DM then it might load faster than mine did (no idea about<br>
> the halos, but I think Matt has answered this).<br>
><br>
> And yes, I'm definitely interested in writing some decent simulation<br>
> collection classes in C++ that can be plugged into YT once my current<br>
> project is winding down. You might want to check out Pymses<br>
> (<a href="http://irfu.cea.fr/Projets/PYMSES/intro.html" target="_blank">http://irfu.cea.fr/Projets/PYMSES/intro.html</a>) for something that makes a<br>
> very good start at this natively in Python.<br>
><br>
> Cheers,<br>
> Sam<br>
><br>
> On 25/04/2011 15:11, Matteo Tomassetti wrote:<br>
><br>
> Hi there,<br>
> after installing yt I tried to import the result of my Ramses simulation<br>
> with this code:<br>
> from yt.mods import *<br>
> pf = load("output_00007/info_00007.txt")<br>
> print pf.h.field_list<br>
> print pf.h.derived_field_list<br>
> but ... it doesn't work! My simulation consists only of DM for now and yt is<br>
> searching for hydro files that of course does not exists. I just wanted to<br>
> find DM halos but it seems that yt does not support this function for RAMSES<br>
> data yet, does it?<br>
> cheers,<br>
> Matteo<br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Matteo Tomassetti<br>
</div>