Anthony Cordon
2017-10-05 18:17:54 UTC
Hello,
I am currently working with datasets where when a group contains and
enumerated array, the enumerations are set as a group attribute vice a
field or column attribute. The datatype attribute of the column is then a
path to the particular group attribute.
This is currently the only dataset that I can not read via pytables.
The data is on a closed network so im unable to share a copy of the
structure, but can provide a structure example below.
Any recommendation on how to approach accessing the data by ingorged
EnumNamedDatatypePath in the development of the leaf or add the node
format? If so, where could I do this?
I am able to access the data when i manipulate the format to remove the
enumerations or change the location of the enumerations, but this is not a
viable method as historical data must be read. I was only able to make
these changes upon initial creation of the data.
MATLAB handles reading this just fine as it stores
'EnumNamedDatatypePath:/SYS/MSG/DETECTIONS/DETECTIONS/CATEGORY' as an
attribute
examples:
Does Not Work (Format expected by some specialized tools, but does not work
in pytables):
Group '/SYS/MSG/PRIM_SENSOR'
Datatype 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member: 'Undefined': 0
Member: 'Early': 1
Member: 'Late': 2
Dataset 'DETECTIONS'
Size: 864
Datatype: H5T_COMPOUND
Member 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member 'EnumNamedDatatypePath:/SYS/MSG/PRIM_SENSOR/CATEGORY':
255
Works (Modified structure, but not compatible with specialized tools):
Group '/SYS/MSG/PRIM_SENSOR'
Dataset 'DETECTIONS'
Size: 864
Datatype: H5T_COMPOUND
Member 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member: 'Undefined': 0
Member: 'Early': 1
Member: 'Late': 2
I am currently working with datasets where when a group contains and
enumerated array, the enumerations are set as a group attribute vice a
field or column attribute. The datatype attribute of the column is then a
path to the particular group attribute.
This is currently the only dataset that I can not read via pytables.
The data is on a closed network so im unable to share a copy of the
structure, but can provide a structure example below.
Any recommendation on how to approach accessing the data by ingorged
EnumNamedDatatypePath in the development of the leaf or add the node
format? If so, where could I do this?
I am able to access the data when i manipulate the format to remove the
enumerations or change the location of the enumerations, but this is not a
viable method as historical data must be read. I was only able to make
these changes upon initial creation of the data.
MATLAB handles reading this just fine as it stores
'EnumNamedDatatypePath:/SYS/MSG/DETECTIONS/DETECTIONS/CATEGORY' as an
attribute
examples:
Does Not Work (Format expected by some specialized tools, but does not work
in pytables):
Group '/SYS/MSG/PRIM_SENSOR'
Datatype 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member: 'Undefined': 0
Member: 'Early': 1
Member: 'Late': 2
Dataset 'DETECTIONS'
Size: 864
Datatype: H5T_COMPOUND
Member 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member 'EnumNamedDatatypePath:/SYS/MSG/PRIM_SENSOR/CATEGORY':
255
Works (Modified structure, but not compatible with specialized tools):
Group '/SYS/MSG/PRIM_SENSOR'
Dataset 'DETECTIONS'
Size: 864
Datatype: H5T_COMPOUND
Member 'CATEGORY': H5T_ENUM
Base Type: H5T_STD_U8LE
Member: 'Undefined': 0
Member: 'Early': 1
Member: 'Late': 2
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.