[yt-users] Projection

Nathan Goldbaum nathan12343 at gmail.com
Tue Nov 14 09:40:54 PST 2017


This sounds like a bug. I don't think you should ever get back NaNs from a
projection operation.

Is there any chance you can share the dataset that's triggering this
behavior?

On Tue, Nov 14, 2017 at 11:34 AM, Matias Enrique Suazo Campos <
matias.suazo at ug.uchile.cl> wrote:

> Dear YT users,
>
> I'm trying to make a density projection, in the following lines I show you
> the lines that I have.
>
> #Ramses output
> ds = yt.load(path+"output_%05d"%snap+"/info_%05d.txt" %snap)
> disk = ds.disk('max',[0,0,1],(20,'pc'),(5,'pc'))
> proj=ds.proj('density',axis='z',weight_field='density',
> data_source=disk,method='integrate')
>
> 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.
>
> Thanks,
> Matías Suazo
> MSc student at Universidad de Chile
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20171114/80c55a20/attachment.html>


More information about the yt-users mailing list