This has also driven me crazy.  As David points out, there is even this additional instance popping up.  Maybe some sort of regular expression matching would be more flexible.  For example, the Gas Energy field we know has Gas and Energy with something or nothing in between.  We could have the field that is to be gas energy check the available fields from one grid, do a regex like /Grid[\s\_]*Energy/ to find out what it's being called in that simulation, and then do the aliasing that way.  This might be better at catching any additional deviations from the standard field names that may come along in the future.<br>
<br>Britton<br><br><div class="gmail_quote">On Wed, Apr 1, 2009 at 8:46 PM, david collins <span dir="ltr"><<a href="mailto:antpuncher@gmail.com">antpuncher@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Apr 1, 2009 at 7:26 PM, Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>> wrote:<br>
> Hi guys,<br>
><br>
> I don't know if you guys have noticed, but there are lots of different<br>
> field names for Gas Energy and Total Energy, depending on both branch<br>
> of the code and test problem.  (LCA 1.5 even still has an underscore<br>
> in the rotating cylinder problem!)  This bit me today and I thought<br>
> about it, and I think the solution is -- in this two-choice case -- to<br>
> have aliases.<br>
><br>
<br>
<br>
$#@@!$^^$%&<br>
</div>I thought I caught all of them in lca1.5.<br>
<br>
I've been wrestling that glitch for years.  I make a point of removing<br>
all underscores in hdf5 field names I come across in the source code,<br>
I encourage all others to do the same.  I tried to get all of them in<br>
lca1.5 before it came out.<br>
<div class="im"><br>
> <a href="http://bitbucket.org/MatthewTurk/yt/changeset/9f624c382c1a/" target="_blank">http://bitbucket.org/MatthewTurk/yt/changeset/9f624c382c1a/</a><br>
<br>
</div>There's also a "Total\ Energy" (with an escaped space) that's kicking<br>
around in some versions of some tests.<br>
<div><div></div><div class="h5"><br>
d.<br>
<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>
><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>
</div></div></blockquote></div><br>