<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi Brian,<div><br></div><div>I suspect it's related to a field issue.  Can you try explicitly asking for ("gas", "temperature") ?  My suspicion is that there's a derived field for temperature related to a particle that it's guessing first, and that the cosmo/non-cosmo is only borderline related in how field detection for Enzo works.  If asking for gas temperature explicitly works, we can try to figure out why it thinks it should be asking for particle fields.</div><div><br></div><div>-Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 23, 2015 at 11:20 AM, Brian O'Shea <span dir="ltr"><<a href="mailto:bwoshea@gmail.com" target="_blank">bwoshea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear yt-users,<div><br></div><div>I'm having a problem with making slices in non-unitary volumes.  I have a 3D enzo simulation that has domain bounds of (-1.6...1.6) in every dimension (units of megaparsecs), and after I updated to the tip of yt-3 (changeset d9502d848029) from a fairly old version of the code I suddenly have problems with making simple projections.  If I run this set of commands:</div><div><br></div><div><div>import yt</div><div>ds = yt.load("DD0400/DD0400")<br></div><div>proj = yt.SlicePlot(ds,'x','temperature',center=[0.0,0.0,0.0],width=(0.2,'Mpc'))<br></div></div><div><br></div><div>I get this error:</div><div><br></div><div><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.yt-2Dproject.org_show_6115_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=oFXt1rCxKACI9Xqc-9kP2ZqpT4UKLi21TdWzrj286aY&s=D9v6Sg_IjAISnWLKLrEblCzSNN3WIbsHx3dwxcTyX-M&e=" target="_blank">http://paste.yt-project.org/show/6115/</a><br></div><div><br></div><div>This seems to work fine on an Enzo cosmological dataset (domain bounds 0-1 in each dimension), and previously worked fine in yt-3 (using a version of the code from a couple of months ago).</div><div><br></div><div>is this a bug, or am I doing something dumb?</div><div><br></div><div>Thanks!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>--Brian</div><div><br></div></font></span></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="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.spacepope.org_listinfo.cgi_yt-2Dusers-2Dspacepope.org&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=oFXt1rCxKACI9Xqc-9kP2ZqpT4UKLi21TdWzrj286aY&s=SROj03n-MvVBXmFUiaNz58kzau4AdlcvnZOT2Rz98hc&e=" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>