<div dir="ltr">Hi Marc,<div><br></div><div>In that case, you should be able to try out the PR by doing:</div><div><br></div><div>1. Make sure yt is activated</div><div>2. cd $YT_DEST/src/yt-hg/</div><div>3. <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">hg pull -r 7674674 </span><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px;line-height:20.44px"><a href="https://bitbucket.org/atmyers/">https://bitbucket.org/atmyers/</a></span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px;line-height:20.44px">4. hg update -C </span></font><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">7674674</span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">5. </span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">python setup.py develop</span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">The "-C" option to hg update will wipe any uncommited changes in your working copy, so be wary.</span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20.44px">-Andrew</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 4, 2015 at 10:57 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">
Thanks a lot.
<div>I installed the Dev branch via the install script.</div><div><div class="h5">
<div><br>
</div>
<div><br>
<div><br>
<br>
</div>
<br>
<div>
<div>On 5 Oct 2015, at 2:41 pm, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>> wrote:</div>
<br>
<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" target="_blank">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" target="_blank">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" target="_blank">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>
</blockquote>
</div>
<br>
</div>
</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>