<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Jeff, Andrew, Nathan and all,</div><div><br></div><div>thanks a lot.</div><div><br></div><div>I have put a sample data file here (including parameter files, at least the pluto.ini </div><div>seems to be read):</div><div><br></div><div><a href="http://www.mpe.mpg.de/~mschartm/download/">http://www.mpe.mpg.de/~mschartm/download/</a></div><div><br></div><div>data.0000.hdf5</div><div>pluto.ini</div><div>definitions.h</div><div><br></div><div>And the error message I receive:</div><div><br></div><div><div>>>> pf = load("data.0000.hdf5")</div><div>yt : [WARNING  ] 2013-03-07 09:16:19,293 Setting 1.0 in code units to be 1.0 cm</div><div>yt : [WARNING  ] 2013-03-07 09:16:19,293 No time units.  Setting 1.0 = 1 second.</div><div>Traceback (most recent call last):</div><div>  File "<stdin>", line 1, in <module></div><div>  File "/data01/mschartm/software/yt/yt-x86_64/src/yt-hg/yt/convenience.py", line 77, in load</div><div>    return output_type_registry[candidates[0]](*args, **kwargs)</div><div>  File "/data01/mschartm/software/yt/yt-x86_64/src/yt-hg/yt/frontends/chombo/data_structures.py", line 225, in __init__</div><div>    StaticOutput.__init__(self,filename,data_style)</div><div>  File "/data01/mschartm/software/yt/yt-x86_64/src/yt-hg/yt/data_objects/static_output.py", line 97, in __init__</div><div>    self._set_units()</div><div>  File "/data01/mschartm/software/yt/yt-x86_64/src/yt-hg/yt/frontends/chombo/data_structures.py", line 249, in _set_units</div><div>    self.units['unitary'] = 1.0 / (self.domain_right_edge - self.domain_left_edge).max()</div><div>AttributeError: 'ChomboStaticOutput' object has no attribute 'domain_right_edge'</div></div><div><br></div><div>It would be great if you could point me to the locations where I need to adapt the code. This would save me a lot of time.</div><div><br></div><div>Thanks a lot and best wishes,</div><div><br></div><div>Marc</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On Mar 7, 2013, at 3:45 AM, Nathan Goldbaum wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Or, if possible, a sample dataset.</div><br><div><div>On Mar 6, 2013, at 6:41 PM, Andrew Myers <<a href="mailto:atmyers@berkeley.edu">atmyers@berkeley.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Marc,<div><br></div><div>I'm not surprised that yt doesn't work quite out-of-the box with Pluto data, but the Chombo HDF5 frontend definitely works, and could probably be made to handle Pluto data with minimal hassle. Probably you just need to do things like specifying the field names, where to find stuff like 'gamma', etc. If you want help with that, I'd be happy to point you to the right places in the code. It would also help if you could provide the traceback for the error you are seeing when you try to load the dataset. </div> <div><br></div><div>Best,</div><div>Andrew <br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 8:54 AM, j s oishi <span dir="ltr"><<a href="mailto:jsoishi@gmail.com" target="_blank">jsoishi@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">Hi Marc (cc: yt-users),<br> <br> Thanks for your interest in yt! I have not used yt and pluto, but I<br> have used yt with some other Chombo data in the past. I would strongly<br> suggest you join the yt-users mailing list, which you can do here:<br> <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> <br> or dropping by our IRC chat room,<br> <br> <a href="http://yt-project.org/irc.html" target="_blank">http://yt-project.org/irc.html</a><br> <br> I believe Andrew Myers, who is active on yt-users, has the most<br> experience using Chombo data in yt. However, the mailing list is the<br> best way to get help. If you do post to yt-users, please include some<br> details about exactly what is going wrong when you try to load your<br> Pluto data. This will help get you going faster.<br> <br> take care, and welcome to yt!<br> <br> yours,<br> <br> Jeff<br> <br> On Wed, Mar 6, 2013 at 8:43 AM, Marc Schartmann <<a href="mailto:schartmann@mpe.mpg.de">schartmann@mpe.mpg.de</a>> wrote:<br> > Dear Jeff Oishi,<br> ><br> > I would very much like to use yt for analyzing my PLUTO simulations. I saw<br> > that there is supposed to be support for the Chombo hdf5 files, but it does<br> > not seem to work for me<br> > (maybe not for PLUTO 4.0?).<br> > Do you know of anybody who is working with PLUTO + yt, I might contact?<br> ><br> > Thanks a lot.<br> ><br> > Best regards from Munich,<br> ><br> > Marc<br> ><br> ><br> > --<br> ><br> > **********************************************************************<br> > Marc Schartmann |    Tel. 089-30000-3712<br> > Max-Planck-Institut für | (Tuesday-Thursday)<br> > extraterrestrische Physik |<br> > Giessenbachstrasse |  Fax: 089-30000-3569<br> > 85748 Garching |  <a href="mailto:schartmann@mpe.mpg.de">schartmann@mpe.mpg.de</a><br> > **********************************************************************<br> > and<br> > **********************************************************************<br> > Universitätssternwarte | Tel. 089-2180-6028<br> > Scheinerstrasse 1 | (Monday & Friday)<br> > 81679 München |<br> > **********************************************************************<br> ><br> ><br> ><br> ><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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><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><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br></blockquote></div><br></div></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div></div></div></div><br class="Apple-interchange-newline"> </div><br></body></html>