[ET Trac] [Einstein Toolkit] #1849: CarpetIOHDF5: fix check for old string datatype

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Dec 11 13:28:57 CST 2015


#1849: CarpetIOHDF5: fix check for old string datatype
---------------------+------------------------------------------------------
  Reporter:  knarf   |       Owner:  eschnett           
      Type:  defect  |      Status:  review             
  Priority:  minor   |   Milestone:                     
 Component:  Carpet  |     Version:  development version
Resolution:          |    Keywords:  hdf5               
---------------------+------------------------------------------------------

Comment (by eschnett):

 Alternatively, you can simply to to read the string into a
 {{{H5T_NATIVE_CHAR}}}. If it succeeds -- good, if it doesn't -- throw an
 error. There's no real need to check ahead of time whether we think that
 HDF5 can convert a type to a string, if we can simply ask HDF5 to convert
 to a string.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1849#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list