<div dir="ltr">This is a really important issue.  For those of you that have not tried it, the new unit system is amazing.  It can be slightly confusing at first, but the unit conversions work extremely well once the frontend has knowledge of the native unit system of the data.  The problem is really making sure that the native unit system is understood correctly.  There are cosmology comoving/proper frame issues as well as the fact that some systems define a velocity unit that is independent of the length and time units.  I think maybe the best way to do this is to have a very simple dataset for each frontend in which some basic quantities (velocities, densities, etc) are known and use them for unit testing.  I think a good sample dataset would be a uniform density/velocity grid, perhaps one with cosmology on and one off.  I'm sure this could be made for Enzo.  What about the rest of the codes?<div>
<br></div><div>Britton</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 5:11 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 all,<br>
<br>
There was some discussion in IRC of how to test out the new unit<br>
refactor branch.  Not all of the frontends have been converted.<br>
<br>
Here's how to pull it:<br>
<br>
hg pull -r unitrefactor <a href="http://bitbucket.org/MatthewTurk/yt" target="_blank">http://bitbucket.org/MatthewTurk/yt</a><br>
hg up -r unitrefactor<br>
<br>
<br>
Then, build as usual.  As a reminder, this is the primary yt repository now:<br>
<br>
<a href="http://bitbucket.org/yt_analysis/yt" target="_blank">http://bitbucket.org/yt_analysis/yt</a><br>
<br>
If you have that set as your "default", you can get back to the tip of<br>
that repository like so:<br>
<br>
hg up -r "remote(tip)"<br>
<br>
If you want to make sure you're updating to a specific branch, swap<br>
out "tip" for "yt" or "yt-3.0" (which will need to be in quotes, as -<br>
is a special character in revsets.<br>
<br>
-Matt<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br></div>