<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>Per Matt's suggestion, I've tried accessing the FLASH particles via ['all', 'particle_mass'], to no avail. The traceback can be found here:<br><br><a href="http://paste.yt-project.org/show/5541/">http://paste.yt-project.org/show/5541/</a><br><br></div><div>I get the same zero-length selection exception when I use ['io', 'particle_position_x'] or ['all', 'particle_position_x'], as Yuan suggests. <br></div><div><br></div>To further check the input particle file format, I used the low-level h5py interface. I was able to read both particle position and mass. This script doesn't know about the grid, however.<br><br></div>Any other ideas?<br><br></div>Thanks,<br></div>Jason<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 9:59 PM, Yuan Li <span dir="ltr"><<a href="mailto:bear0980@gmail.com" target="_blank">bear0980@gmail.com</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">I tried ['io', 'particle_position_x'] on my Flash data, and it seemed to work just fine. I use the latest yt.<span class="HOEnZb"><font color="#888888"><br><div><br></div><div>Yuan</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 7:51 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</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">I'm not able to reproduce this using the Orbit dataset on <a href="http://yt-project.org/data" target="_blank">yt-project.org/data</a>. Unfortunately I don't think we have any other flash test datasets that use particles.<div><br></div><div>It would also help to see the full error traceback you're getting.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 4:32 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jason,<br>
<br>
Don't worry about posting the data -- that's completely fine, and I<br>
think in general we should do all we can to reproduce without the<br>
dataset!  I'm wondering if perhaps there's something funny about the<br>
"io" particle field.  If you try "all" instead of "io", does it work<br>
any better?<br>
<br>
-Matt<br>
<span><br>
On Fri, May 8, 2015 at 1:01 PM, Jason Galyardt <<a href="mailto:jason.galyardt@gmail.com" target="_blank">jason.galyardt@gmail.com</a>> wrote:<br>
</span><div><div>> Hi all,<br>
><br>
> Has anyone had success accessing deposited particle data generated with<br>
> FLASH? It appears in the dataset derived field list, but when I go to access<br>
> it (via ds.all_data()['deposit', 'io_mass']), I get an error concerning<br>
> zero-length selection. I get the same error when I try to access the<br>
> 'standard' particle data (from ds.field_list), such as ds.all_data()['io',<br>
> 'particle_mass'].<br>
><br>
> Does this ring any bells? This very well could be user error, so please let<br>
> me know if that seems to be the case. I've pasted a basic script to<br>
> reproduce the error here:<br>
><br>
> <a href="http://paste.yt-project.org/show/5538/" target="_blank">http://paste.yt-project.org/show/5538/</a><br>
><br>
> I'd rather not post the dataset publicly, but I can send you a link, if<br>
> you're interested.<br>
><br>
> Cheers,<br>
> Jason Galyardt<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>