[MOAB-dev] h5m: class attribute in tags

Nico Schlömer nico.schloemer at gmail.com
Wed Nov 11 13:01:25 CST 2015


> Or do you try to understand how are the data / tags stored?

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.

> class would correspond to the type of the tag (integer, double, opaque,
etc)

Could you give more detail here?

Cheers,
Nico


[1] https://pypi.python.org/pypi/meshio

On Wed, Nov 11, 2015 at 7:55 PM Grindeanu, Iulian R. <iulian at mcs.anl.gov>
wrote:

> Hi Nico,
>
> Not sure what are you trying to do here.
> Do you need to improve the h5m reader writer? Or do you try to understand
> how are the data / tags stored?
>
> Do you have a specific problem/bug ?
> Suggestions for improvement?
>
> All these attributes are part of specific moab conventions and hdf5
> format. Not much documentation, except what you already found.
>
> class would correspond to the type of the tag (integer, double, opaque,
> etc)
> default would be the default value
>
> global is used if the tag is "global", in the sense it refers to the whole
> mesh instance
>
> "The tag sub-group may have any or all of the following four attributes:
> default, global, is_handle, and variable_length. The default attribute,
> if present, must contain a single tag value that is to be considered the
> 'default' value of the tag. The global 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 is_handle attribute (the value, if any, is meaningless) indicates
> that the tag values are to be considered entity IDs."
>
>
>
>
>
>
>
>
> ------------------------------
> *From:* moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on
> behalf of Nico Schlömer [nico.schloemer at gmail.com]
> *Sent:* Wednesday, November 11, 2015 3:43 AM
> *To:* moab-dev at mcs.anl.gov
> *Subject:* [MOAB-dev] h5m: class attribute in tags
>
> Hi everyone,
>
> In h5m files [1], I see that tstt->tags typically have three attributes:
>
>  * class
>  * default
>  * global
>
> Where can I find documentation on these attributes?
>
> Cheers,
> Nico
>
> [1] https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20151111/f19aaabb/attachment.html>


More information about the moab-dev mailing list