[yt-users] RadMC3DWriter and Ramses data

Nathan Goldbaum nathan12343 at gmail.com
Sun Oct 4 20:41:45 PDT 2015


There's an open pull request that adds support for actree style outputs to
the radmc3d exporter:

https://bitbucket.org/yt_analysis/yt/pull-requests/1688/wip-adding-support-for-octree-style-output

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.

On Sun, Oct 4, 2015 at 10:30 PM, Marc Schartmann <mschartmann at swin.edu.au>
wrote:

> Dear all,
>
> I am trying to export the density distribution from a RAMSES run to
> RADMC-3D using RadMC3DWriter.
> Whereas the example with the “StarParticle” data set works perfectly, it
> fails for any RAMSES data
> I tried (e.g. the “ramses_mhd_amr” one).
>
> Below is the output, complaining about a missing attribute in the RAMSES
> frontend.
> I am not a yt expert, any help with how to fix this would be appreciated.
>
> Thanks a lot.
>
> Best wishes,
>
> Marc
>
>
>
> >>> writer = RadMC3DWriter(ds)
> yt : [INFO     ] 2015-10-05 14:20:04,236 Loading field plugins.
> yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded angular_momentum (8 new
> fields)
> yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded astro (15 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,237 Loaded cosmology (22 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,238 Loaded fluid (63 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,238 Loaded fluid_vector (95 new
> fields)
> yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded geometric (111 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded local (111 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded magnetic_field (119 new
> fields)
> yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded my_plugins (119 new fields)
> yt : [INFO     ] 2015-10-05 14:20:04,239 Loaded species (121 new fields)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   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__
>     sorted_grids = sorted(ds.index.grids, key=lambda x: x.Level)
> AttributeError: 'RAMSESIndex' object has no attribute 'grids'
>
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20151004/82d14233/attachment.html>


More information about the yt-users mailing list