<div dir="ltr">This sounds like a bug. I don't think you should ever get back NaNs from a projection operation.<br><br>Is there any chance you can share the dataset that's triggering this behavior?<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 11:34 AM, Matias Enrique Suazo Campos <span dir="ltr"><<a href="mailto:matias.suazo@ug.uchile.cl" target="_blank">matias.suazo@ug.uchile.cl</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 trying to make a density projection, in the following lines I show you the lines that I have.</div><div><br></div><div>#Ramses output</div><div><div>ds = yt.load(path+"output_%05d"%<wbr>snap+"/info_%05d.txt" %snap)</div><div>disk = ds.disk('max',[0,0,1],(20,'pc'<wbr>),(5,'pc'))</div><div>proj=ds.proj('density',axis='<wbr>z',weight_field='density',<wbr>data_source=disk,method='<wbr>integrate')</div></div><div><br></div><div>However when I print proj["density"] I get a list of nan, however when I use the whole domain as my data_source I get reasonable numbers.</div><div><br></div><div>Thanks,</div><div>Matías Suazo</div><div>MSc student at Universidad de Chile</div></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></div></div>