<div dir="ltr">> Or do you try to understand how are the data / tags stored?<br><br>Indeed. I've converted a bunch of files to h5m using MeshIO [1], but found that they couldn't be read into MOAB because of a missing class attribute.<br><br>> class would correspond to the type of the tag (integer, double, opaque, etc)<br><br>Could you give more detail here?<div><br></div><div>Cheers,</div><div>Nico</div><div><br><br>[1] <a href="https://pypi.python.org/pypi/meshio">https://pypi.python.org/pypi/meshio</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 11, 2015 at 7:55 PM Grindeanu, Iulian R. <<a href="mailto:iulian@mcs.anl.gov">iulian@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Nico,<br>
<br>
Not sure what are you trying to do here.<br>
Do you need to improve the h5m reader writer? Or do you try to understand how are the data / tags stored?<br>
<br>
Do you have a specific problem/bug ? <br>
Suggestions for improvement? <br>
<br>
All these attributes are part of specific moab conventions and hdf5 format. Not much documentation, except what you already found.<br>
<br>
class would correspond to the type of the tag (integer, double, opaque, etc)<br>
default would be the default value<br>
<br>
global is used if the tag is "global", in the sense it refers to the whole mesh instance<br>
<br>
"The tag sub-group may have any or all of the following four attributes: <tt>default</tt>,
<tt>global</tt>, <tt>is_handle</tt>, and <tt>variable_length</tt>. The <tt>default</tt> attribute, if present, must contain a single tag value that is to be considered the 'default' value of the tag. The
<tt>global</tt> attribute, if present, must contain a single tag value that is the value of the tag as set on the mesh instance (MOAB terminology) or root set (ITAPS terminology.) The presence of the
<tt>is_handle</tt> attribute (the value, if any, is meaningless) indicates that the tag values are to be considered entity IDs."<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font size="2" color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:moab-dev-bounces@mcs.anl.gov" target="_blank">moab-dev-bounces@mcs.anl.gov</a> [<a href="mailto:moab-dev-bounces@mcs.anl.gov" target="_blank">moab-dev-bounces@mcs.anl.gov</a>] on behalf of Nico Schlömer [<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, November 11, 2015 3:43 AM<br>
<b>To:</b> <a href="mailto:moab-dev@mcs.anl.gov" target="_blank">moab-dev@mcs.anl.gov</a><br>
<b>Subject:</b> [MOAB-dev] h5m: class attribute in tags<br>
</font><br>
</div></div></div></div><div><div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><div style="font-family:Times New Roman;color:#000000;font-size:16px">
<div></div>
<div>
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>In h5m files [1], I see that tstt->tags typically have three attributes:</div>
<div><br>
</div>
<div> * class</div>
<div> * default</div>
<div> * global</div>
<div><br>
</div>
<div>Where can I find documentation on these attributes?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nico</div>
<div><br>
</div>
<div>[1] <a href="https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m" target="_blank">https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m</a></div>
</div>
</div>
</div></div></div></blockquote></div>