<div dir="ltr">Hi Matt, <div>Sure, by making the plot "by hand" do you mean something other than:</div><div>slc = SlicePlot(pf, 'x', "Density", center=[0.5,0.5,0.5])<br></div><div>slc.save('ramses')<br>
</div><div style>?  In that case, I get the same error (sorry -- the "useful" knowledge of yt I've accumulated is still very limited).</div><div style>Sam</div><div style><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 11:45 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Hi Sam, </p>
<p>Could you have a try at making the plot and specifying the center by hand? </p>
<p>Matt</p>
<div class="gmail_quote"><div><div class="h5">On Dec 18, 2012 9:57 AM, "Sam Leitner" <<a href="mailto:sam.leitner@gmail.com" target="_blank">sam.leitner@gmail.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi yt-users,<div><br></div><div>I'm compiling from the tip of yt-3.0 where plot seems to be broken for Ramses... </div><div><br></div><div>yt plot tests/output_00001/info_00001.txttests/output_00001/amr_00001.out00001</div>


<div>yt : [WARNING  ] 2012-12-18 10:27:10,365 No current mechanism of distinguishing cosmological simulations in RAMSES!</div><div>yt : [INFO     ] 2012-12-18 10:27:10,366 Parameters: current_time              = 0.0</div>


<div>yt : [INFO     ] 2012-12-18 10:27:10,366 Parameters: domain_dimensions         = [64 64 64]</div><div>yt : [INFO     ] 2012-12-18 10:27:10,366 Parameters: domain_left_edge          = [ 0.  0.  0.]</div><div>yt : [INFO     ] 2012-12-18 10:27:10,366 Parameters: domain_right_edge         = [ 1.  1.  1.]</div>


<div>yt : [INFO     ] 2012-12-18 10:27:10,366 Parameters: cosmological_simulation   = 1</div><div>yt : [INFO     ] 2012-12-18 10:27:10,367 Parameters: current_redshift          = 0.0</div><div>yt : [INFO     ] 2012-12-18 10:27:10,367 Parameters: omega_lambda              = 0.0</div>


<div>yt : [INFO     ] 2012-12-18 10:27:10,367 Parameters: omega_matter              = 1.0</div><div>yt : [INFO     ] 2012-12-18 10:27:10,367 Parameters: hubble_constant           = 1.0</div><div>yt : [INFO     ] 2012-12-18 10:27:10,367 Adding plot for axis 0</div>


<div>yt : [INFO     ] 2012-12-18 10:27:11,597 xlim = 0.000000 1.000000</div><div>yt : [INFO     ] 2012-12-18 10:27:11,597 ylim = 0.000000 1.000000</div><div>yt : [INFO     ] 2012-12-18 10:27:11,597 Making a fixed resolution buffer of (('gas', 'Density')) 800 by 800</div>


<div>python2.7(2499,0x7fff710f6180) malloc: *** error for object 0x102f20608: incorrect checksum for freed object - object was probably modified after being freed.</div><div>*** set a breakpoint in malloc_error_break to debug</div>


<div>Abort trap: 6 <br></div><div><br></div><div>and for projection:</div><div><br></div><div><div>yt plot -m tests/output_00001/info_00001.txt </div><div>tests/output_00001/amr_00001.out00001</div><div>
yt : [WARNING  ] 2012-12-18 10:48:46,412 No current mechanism of distinguishing cosmological simulations in RAMSES!</div><div>yt : [INFO     ] 2012-12-18 10:48:46,412 Parameters: current_time              = 0.0</div><div>


yt : [INFO     ] 2012-12-18 10:48:46,412 Parameters: domain_dimensions         = [64 64 64]</div><div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: domain_left_edge          = [ 0.  0.  0.]</div><div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: domain_right_edge         = [ 1.  1.  1.]</div>


<div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: cosmological_simulation   = 1</div><div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: current_redshift          = 0.0</div><div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: omega_lambda              = 0.0</div>


<div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: omega_matter              = 1.0</div><div>yt : [INFO     ] 2012-12-18 10:48:46,413 Parameters: hubble_constant           = 1.0</div><div>Traceback (most recent call last):</div>


<div>  File "/Users/sleitner/repos/yt-3.0-run/yt-x86_64/bin/yt", line 9, in <module></div><div>    load_entry_point('yt==3.0dev', 'console_scripts', 'yt')()</div><div>  File "/Users/sleitner/repos/yt-3.0-artio/yt/utilities/command_line.py", line 1578, in run_main</div>


<div>    args.func(args)</div><div>  File "/Users/sleitner/repos/yt-3.0-artio/yt/utilities/command_line.py", line 97, in run</div><div>    self(args)</div><div>  File "/Users/sleitner/repos/yt-3.0-artio/yt/utilities/command_line.py", line 1250, in __call__</div>


<div>    v, center = pf.h.find_max("Density")</div><div>AttributeError: 'RAMSESGeometryHandler' object has no attribute 'find_max'</div></div><div><br></div><div><br></div><div>
Thanks for your help! </div><div>Sam Leitner</div></div>
<br></div></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>
<br></blockquote></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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>