<div dir="ltr">That would be awesome, as long as it isn't a huge headache. I'll be moving to the newer versions of FLASH soon, but for now I'm stuck with version 2.5.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 12:18 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@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="auto"><div>Hi Corey,</div><div><br></div><div>Unfortunately, we don't support FLASH 2.5 particle data, because it is in a different format from v. 3.0 and above.</div><div><br></div><div>If you like, I'd be happy to help figure out some kind of workaround.</div><div><br></div><div>Best,</div><div><br></div><div>John<br><br><span style="font-size:13pt;background-color:rgba(255,255,255,0)">John ZuHone</span><br><div><span style="background-color:rgba(255,255,255,0)">Kavli Center for Astrophysics and Space Research<br>Massachusetts Institute of Technology<br><a>77 Massachusetts Ave.</a>, 37-582G<br><a>Cambridge, MA 02139</a><br>(w) <a href="tel:617-253-2354" target="_blank">617-253-2354</a><br>(m) <a href="tel:781-708-5004" target="_blank">781-708-5004</a><br><a href="mailto:jzuhone@space.mit.edu" target="_blank">jzuhone@space.mit.edu</a><br><a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a><br><a href="http://www.jzuhone.com/" target="_blank">http://www.jzuhone.com</a></span><br style="font-family:UICTFontTextStyleBody"></div></div><div><div class="h5"><div><br>On Oct 3, 2014, at 12:14 PM, C.S. Howard <<a href="mailto:howardcs@mcmaster.ca" target="_blank">howardcs@mcmaster.ca</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div><div>Hi everyone,<br><br></div>I'm trying to draw sink particles on a slice plot using FLASH 2.5 data. I'm using yt 3.0 with the commands:<br><br> pf = yt.load(pltfiles[k])<br> fig = plt.figure()<br> ax1 = fig.add_subplot(111)<br> axes = {'x':0, 'y':1, 'z':2}<br> slices = {'x':[0.0,0.5,0.5],\<br>              'y':[0.5,0.0,0.5],\<br>              'z':[0.5,0.5,0.5]}<br><br>  slc = SlicePlot(pf, 'z', 'density', center = slices['z'],origin='domain')<br>  slc.annotate_particles(1.0, p_size=15.0, col="Black")<br><br></div>but it doesn't work, giving me the following errors; <br><br>Traceback (most recent call last):<br>  File "./sliceplots.py", line 42, in <module><br>    slc.annotate_particles(1.0, p_size=15.0, col="Black")<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_container.py", line 70, in newfunc<br>    args[0]._setup_plots()<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 862, in _setup_plots<br>    self.run_callbacks(f)<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_container.py", line 315, in run_callbacks<br>    callback(cbw)<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_modifications.py", line 1055, in __call__<br>    &   ( reg[pt, field_y] >= y0 ) & ( reg[pt, field_y] <= y1 ) )<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 233, in __getitem__<br>    f = self._determine_fields([key])[0]<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 486, in _determine_fields<br>    finfo = self.ds._get_field_info(ftype, fname)<br>  File "/1/home/howardcs/yt-3.0/yt-x86_64/src/yt-hg/yt/data_objects/static_output.py", line 482, in _get_field_info<br>    raise YTFieldNotFound((ftype, fname), self)<br>yt.utilities.exceptions.YTFieldNotFound: Could not find field '('all', 'particle_position_x')' in DensProfTurb_flattop_hdf5_plt_cnt_0200<br><br></div>Seems like its having trouble finding the particle information for FLASH2.5. Any suggestions on where to go from here?<br><br></div>Thanks,<br></div>Corey <br></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a></span><br><span><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></span><br></div></blockquote></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>