<div dir="ltr">Good deal, thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 6:32 PM, Sam Skillman <span dir="ltr"><<a href="mailto:samskillman@gmail.com" target="_blank">samskillman@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've posted a PR here:<div><a href="https://bitbucket.org/yt_analysis/yt/pull-request/448/bugfix-for-units-setup-in-athena/diff" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-request/448/bugfix-for-units-setup-in-athena/diff</a><br>
</div><div><br></div><div>When it is accepted it should do the trick. Thanks for pointing this out!</div><div><br></div><div>Cheers,</div><div>Sam</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Wed, Feb 27, 2013 at 10:21 AM, Sam Skillman <span dir="ltr"><<a href="mailto:samskillman@gmail.com" target="_blank">samskillman@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">Darn :). I see what is wrong. It doesn't seem that the 'unitary' unit is being set up correctly for Athena (it currently ends up being -infinity!). I'll push a fix in a few minutes.<span><font color="#888888"><div>
<br>
</div><div>Sam</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 10:11 AM, nick moeckel <span dir="ltr"><<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@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"><div>in my haste to get an example my zeroes didn't have decimals there (shame on me), but that doesn't fix it.</div>
<div><br></div><div>In [37]: lc = [0.0, 0.0, 0.4]</div><div>In [38]: rc = [1.0, 1.0, 0.6]</div>
<div>In [39]: region = pf.h.region(center, lc, rc)</div><div>In [40]: region.volume()</div><div>Out[40]: -inf</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 6:06 PM, Sam Skillman <span dir="ltr"><<a href="mailto:samskillman@gmail.com" target="_blank">samskillman@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">Hi Nick,<div><br></div><div>It looks like lc only has 2 values in it. If fixing that to lc = [0.0, 0.0, 0.4] works (or still breaks), let us know. </div>
<div><br></div><div>Cheers,</div><div>
Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Feb 27, 2013 at 10:02 AM, nick moeckel <span dir="ltr"><<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi there,<div><br></div><div>I'm dealing with some athena data right now, and running into some issues with defining regions. </div>
<div><br></div><div>an example, with domain_left_edge = [0, 0, 0], and right_edge = [1, 1, 1]</div>
<div><br></div><div><div>In [18]: center=[0.5,0.5,0.5]</div><div>In [19]: lc = [0,0,0.4]</div><div>In [20]: rc=[1.0,1.0,0.6]</div><div>In [21]: region = pf.h.region(center, lc, rc)</div><div>In [22]: region.volume()</div>
<div>Out[22]: -inf</div><div><br></div><div>I'm able to get at region.quantities, but trying to make a projection plot fails. </div><div><br></div><div>Interestingly, or maybe not, if I try to do something similar with data that has its domain centered on the origin, the volume is finite and everything I've tried with plotting works fine. I guess athena support is still a bit preliminary, but I thought I'd throw this out there.</div>
<div><br></div><div>best,</div><div>Nick</div></div></div>
<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></blockquote></div><br></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" 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></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>