<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This email went to my junk folder, and it seems that may have been true for others, so Desika asked me to forward it back to the list.<div class=""><br class=""></div><div class="">Cheers,</div><div class=""> Alex<br class="">
<div><br class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Desika Narayanan <<a href="mailto:desika.narayanan@gmail.com" class="">desika.narayanan@gmail.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[yt-users] smoothed particle velocities onto unigrid</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">March 23, 2016 at 11:04:28 EDT<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">yt-users <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:desika.narayanan@gmail.com" class="">desika.narayanan@gmail.com</a>, Discussion of the yt analysis package <<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a>><br class=""></span></div><br class=""><div class=""><div dir="ltr" class="">Hey All,<div class=""><br class=""></div><div class="">I'm having some trouble smoothing particle velocities onto a uniform (arbitrary_grid) grid.  The basic idea is that I create an arbitrary grid, then want to access the particle quantities smoothed onto that grid.  Some are relatively easy, like:</div><div class=""><br class=""></div><div class=""><div class="">mass =  obj[('deposit','PartType0_mass')].in_units('Msun')</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">and for others, where deposited fields don't already exist, I can create those fields and it all works well:</div><div class=""><br class=""></div><div class=""><div class="">ds.add_deposited_particle_field(('PartType0', 'Temperature'),'sum')</div><div class="">temp = obj[('deposit', 'PartType0_sum_Temperature')]</div></div><div class=""><br class=""></div><div class="">but when either trying to access a deposited particle field, or creating one with the velocities, errors are abound.  I'm sure I'm just doing something foolish, but could use a little nudge in the right direction.  I created a self-contained script using the gadget zoom data set on the yt datsets to show the problem, with two different error messages pastebinned (links in the script) here:</div><div class=""><br class=""></div><div class=""><a href="http://paste.yt-project.org/show/6352/" class="">http://paste.yt-project.org/show/6352/</a><br class=""></div><div class=""><br class=""></div><div class="">any help would be greatly appreciated!</div><div class=""><br class=""></div><div class="">thanks,</div><div class="">desika</div></div>
_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>