Duplicate names in a table?

Hello,

Is it possible to have a table with duplicate column names? I tried
modifying this table example

  http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/hl/examples/ex_table_01.c

to have two columns named "Longitude". I got an error about duplicate
names. Is there any way around this? It is ok if I can no longer
look up columns by name.

Thank you,
Walter Landry

Dear Walter Landry,

you would probably break several parts of the library if this were
allowed, or one would need a mechanism that you cannot call
'write_fields_name' once you created a table with non-unique names.
This in turn would create a lot of overhead. It's probably simpler to
give the second entry a unique name.

Best,
Tim

Hello,

Is it possible to have a table with duplicate column names? I
tried modifying this table example

http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/hl/examples/ex_table_01.c

to have two columns named "Longitude". I got an error about
duplicate names. Is there any way around this? It is ok if I can
no longer look up columns by name.

Thank you, Walter Landry

_______________________________________________ Hdf-forum is for
HDF software users discussion. Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Twitter: https://twitter.com/hdf5

- --
- --
Dr Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen
phone: +49 (0)551 39 22149

GPG Key ID = A46BEE1A

···

On 04/23/2015 10:56 PM, Walter Landry wrote: