<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Ah, looks like I misinterpreted this - I guess "load" works for
Ramses now?<br>
<br>
On 25/04/2011 15:26, Sam Geen wrote:
<blockquote cite="mid:4DB5849A.1000508@astro.ox.ac.uk" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title></title>
Hi Matteo,<br>
<br>
I had this problem - try using RAMSESStaticOutput instead of load.
In my experience, YT needs some optimisation with Ramses in any
case, but if your simulation is only DM then it might load faster
than mine did (no idea about the halos, but I think Matt has
answered this).<br>
<br>
And yes, I'm definitely interested in writing some decent
simulation collection classes in C++ that can be plugged into YT
once my current project is winding down. You might want to check
out Pymses (<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://irfu.cea.fr/Projets/PYMSES/intro.html">http://irfu.cea.fr/Projets/PYMSES/intro.html</a>)
for something that makes a very good start at this natively in
Python.<br>
<br>
Cheers,<br>
Sam<br>
<br>
On 25/04/2011 15:11, Matteo Tomassetti wrote:
<blockquote
cite="mid:BANLkTikN_2sotUsOFH+x=J0hnrhRZZeZdA@mail.gmail.com"
type="cite">
<div>Hi there,</div>
<div>after installing yt I tried to import the result of my
Ramses simulation with this code:</div>
<div><br>
</div>
<div>from yt.mods import *</div>
<div>pf = load("output_00007/info_00007.txt")</div>
<div><br>
</div>
<div>print pf.h.field_list</div>
<div>print pf.h.derived_field_list</div>
<div><br>
</div>
<div>but ... it doesn't work! My simulation consists only of DM
for now and yt is searching for hydro files that of course
does not exists. I just wanted to find DM halos but it seems
that yt does not support this function for RAMSES data yet,
does it?</div>
<div><br>
</div>
<div>cheers,</div>
<div>Matteo</div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
yt-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
<br>
</body>
</html>