<div dir="ltr">Hi Jonathan,<div><br></div><div>I'm not able to reproduce the behavior you're seeing with a test dataset (e.g. see <a href="http://paste.yt-project.org/show/7080/">http://paste.yt-project.org/show/7080/</a>, this uses a dataset from <a href="http://yt-project.org/data">yt-project.org/data</a>).</div><div><br></div><div>Is there any chance you can share a dataset that triggers this? Alternatively, can you reproduce this using one of the test datasets on <a href="http://yt-project.org/data">yt-project.org/data</a>?</div><div><br></div><div>The yt curldrop might be useful to share a dataset that triggers the issue you're seeing, see <a href="http://docs.hub.yt">docs.hub.yt</a>. If you're not comfortable sharing the dataset publicly, feel free to share it with me off-list.</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 12:02 PM, Slavin, Jonathan <span dir="ltr"><<a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</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"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi all,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I have some code that uses a cutting plane to create a non-axis aligned slice plot:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div class="gmail_default">ds = yt.load(file)</div><div class="gmail_default">ctr = YTArray([15.,15.,15.],'pc')</div><div class="gmail_default">cut = ds.cutting(normal=(1.,-1.,0.), center=ctr, north_vector=(0.,0.,1.)) </div><div class="gmail_default">frb = cut.to_frb(width=(42.427,'pc')<wbr>,height=(30.,'pc'),resolution=<wbr>(512,724))</div><div class="gmail_default">image = frb['density']/2.126E-24</div><div><br></div><div>I then view the image using the matplotlib imshow command.</div><div>The data is a 30 pc**3 cartesian FLASH AMR dataset with maximum resolution of</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">512**3. I used this code to produce an image, which I have, so I know it used to work (last April). Now however it does not seem to project in the same direction and seems to be shaped incorrectly with a top portion of the image filled with NaNs. Has anyone else experienced this behavior? I tried various things, for example reducing the resolution or switching the order of those values (that leads to a core dump!). The goal here is to create a slice along the plane aligned with the z axis and 45 degrees away from the x and y axes (the data goes from 0 to 30 pc in each direction). Any help would be appreciated.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Jon</div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-7223667067558135002gmail_signature"><div dir="ltr"><div><div dir="ltr">______________________________<wbr>__________________________<br>Jonathan D. Slavin Harvard-Smithsonian CfA<br><a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> 60 Garden Street, MS 83<br>phone: <a href="tel:(617)%20496-7981" value="+16174967981" target="_blank">(617) 496-7981</a> Cambridge, MA 02138-1516<br>cell: <a href="tel:(781)%20363-0035" value="+17813630035" target="_blank">(781) 363-0035</a> USA<br>______________________________<wbr>__________________________<br><br></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div>