Yuan, Can you try the fix from this pull request? https://bitbucket.org/yt_analysis/yt/pull-request/1294/check-for-particle-fi... https://bitbucket.org/yt_analysis/yt/pull-request/1294/check-for-particle-fi... It should fix your issue. If so, just hit approve on the PR. Thanks, John
On Nov 5, 2014, at 2:53 PM, Yuan Li
mailto:bear0980@gmail.com> wrote: Hi Matt,
dd['deposit', 'all_density'] gives the same error message. I have reported the bug on bitbucket.
John, no worries! I happened to have tried to make this plot first (and therefore freaked out), but actually everything else with the particles seems to work nicely, haha!
Thanks! Yuan
On Wed, Nov 5, 2014 at 2:38 PM, Matthew Turk
mailto:matthewturk@gmail.com> wrote: Hi Yuan, Can you give a shot with "all_density" instead of "io_density"? This looks like a bug, but that should fix it for now. And, can you file this as a bug?
-Matt
On Wed Nov 05 2014 at 1:37:13 PM Yuan Li
mailto:yuan@astro.columbia.edu> wrote: Dear all, I have just started using yt3 and would like to display particle densities in a projection plot.
It seems that for Enzo data, I can use ('deposit', 'io_density'). With Flash data, however, dd['deposit', 'io_density'] will give me an error message: KeyError: "Unable to open object (Object 'particle_posy' doesn't exist)"
I have checked and the particles are there. dd['io', 'particle_posy'] does return the particle y positions, so I am confused. Are there other ways of projecting particle densities for Flash data?
Thank you! Yuan _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org mailto:yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org mailto:yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org mailto:yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org