Hi Astrid,

I had to manually approve this message because you are not signed up to the mailing list. I've cc'd you but in the future you probably want to sign up for the mailing list so your messages don't need to be manually approved.

At one point Andrew Myers attempted to add support for exporting octree AMR data to RADMC-3D but the pull request was never merged:

https://bitbucket.org/yt_analysis/yt/pull-requests/1688

I think the main blocker was that we weren't sure it was fully working anymore and the main person who was asking for the feature disappeared.

In principle that code could be exported from mercurial to git and then worked on again. In my opinion that would probably be the best place to start.

If you'd be interested in resurrecting that pull request I'd be happy to answer questions. Andrew Myers (the original author of the RADMC-3d exporter) is also still around intermittently but does not spend as much time working on yt as he used to.

Sorry to not have a more immediately helpful response,

Nathan



On Tue, Feb 27, 2018 at 10:19 AM, Lamberts, Astrid <lamberts@caltech.edu> wrote:

Hi all,


We are trying to obtain inputs for RADMC3D from RAMSES data using the method from :

http://yt-project.org/doc/analyzing/analysis_modules/radmc3d_export.html


I get the following error message


In [5]: writer = RadMC3DWriter(ds)

---------------------------------------------------------------------------

AttributeError                            Traceback (most recent call last)

<ipython-input-5-e2ea2893623c> in <module>()

----> 1 writer = RadMC3DWriter(ds)


/Users/astrid/miniconda2/lib/python2.7/site-packages/yt/analysis_modules/radmc3d_export/RadMC3DInterface.pyc in __init__(self, ds, max_level)

    146         self.cell_count += np.product(ds.domain_dimensions)

    147 

--> 148         sorted_grids = sorted(ds.index.grids, key=lambda x: x.Level)

    149         for grid in sorted_grids:

    150             if grid.Level <= self.max_level:


AttributeError: 'RAMSESIndex' object has no attribute 'grids'


which apparently has already popped up in the past (http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2015-October/006739.html ).


Has this issue been fixed somewhere?

How can we get this to work?


Thanks, 


Astrid




Astrid Lamberts

Postdoctoral Researcher

TAPIR Group, Caltech



_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org

_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org