<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Thanks a lot.
<div>I installed the Dev branch via the install script.</div>
<div><br>
</div>
<div><br>
<div apple-content-edited="true"><br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On 5 Oct 2015, at 2:41 pm, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">There's an open pull request that adds support for actree style outputs to the radmc3d exporter:
<div><br>
</div>
<div><a href="https://bitbucket.org/yt_analysis/yt/pull-requests/1688/wip-adding-support-for-octree-style-output">https://bitbucket.org/yt_analysis/yt/pull-requests/1688/wip-adding-support-for-octree-style-output</a><br>
</div>
<div><br>
</div>
<div>If you merge that pull request in locally you could try it out. If you share how you've set up your yt installation (install script? pip? from a mercurial checkout? anaconda?) one of us could give instructions on how to test out the PR.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Oct 4, 2015 at 10:30 PM, Marc Schartmann <span dir="ltr">
<<a href="mailto:mschartmann@swin.edu.au" target="_blank">mschartmann@swin.edu.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div style="margin:0px;font-size:11px;font-family:Menlo">Dear all,</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">I am trying to export the density distribution from a RAMSES run to RADMC-3D using RadMC3DWriter.</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Whereas the example with the “StarParticle” data set works perfectly, it fails for any RAMSES data </div>
<div style="margin:0px;font-size:11px;font-family:Menlo">I tried (e.g. the “ramses_mhd_amr” one).</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Below is the output, complaining about a missing attribute in the RAMSES frontend.</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">I am not a yt expert, any help with how to fix this would be appreciated.</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Thanks a lot.</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Best wishes,</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Marc</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">
<div style="margin:0px">>>> writer = RadMC3DWriter(ds)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,236 Loading field plugins.</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded angular_momentum (8 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded astro (15 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded cosmology (22 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,238 Loaded fluid (63 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,238 Loaded fluid_vector (95 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded geometric (111 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded local (111 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded magnetic_field (119 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded my_plugins (119 new fields)</div>
<div style="margin:0px">yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded species (121 new fields)</div>
<div style="margin:0px">Traceback (most recent call last):</div>
<div style="margin:0px">  File "<stdin>", line 1, in <module></div>
<div style="margin:0px">  File "/lustre/projects/p054_swin/marc/galnuc_ramses/yt/yt-x86_64/src/yt-hg/yt/analysis_modules/radmc3d_export/RadMC3DInterface.py", line 148, in __init__</div>
<div style="margin:0px">    sorted_grids = sorted(ds.index.grids, key=lambda x: x.Level)</div>
<div style="margin:0px">AttributeError: 'RAMSESIndex' object has no attribute 'grids'</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>