Issue #1022: FLASH Particles do not load properly (yt_analysis/yt)
New issue 1022: FLASH Particles do not load properly https://bitbucket.org/yt_analysis/yt/issue/1022/flash-particles-do-not-load-... Anonymous: yt version: 3.2-dev, changeset 5f93d2bb2aee For massive particles generated by FLASH, I get a 'zero-length selection' exception whenever I try to access 'deposit', 'io', or 'all' particle fields: ``` #!python ds = yt.load(plotFname, particle_filename=partFname) ad = ds.all_data() print ad['gas', 'density'] # This works print ad['io', 'particle_position_x'] # This gives a 'zero-length selection' exception print ad['all', 'particle_position_x'] # This gives a 'zero-length selection' exception print ad['deposit', 'io_mass'] # This gives a 'zero-length selection' exception ``` In case this is related: I can plot particle positions on top of a gas density projection when the plot is square. If the projection is rectangular, annotate_particles() fails silently. _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (1)
-
Anonymous