<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>