[NeXus-code-tickets] [NeXusCode] #132: Cannot modify length of a string (or delete it) once written

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Oct 8 08:16:11 BST 2008


#132: Cannot modify length of a string (or delete it) once written
------------------------------+---------------------------------------------
  Reporter:  Stuart Campbell  |       Owner:  Unassigned     
      Type:  defect           |      Status:  new            
  Priority:  major            |   Milestone:  NeXus 4.2 Ready
 Component:  napi             |     Version:  trunk          
Resolution:                   |    Keywords:                 
------------------------------+---------------------------------------------
Comment (by Mark Koennecke):

 Deleting datasets is not supported in HDF-5. This is not so easy. There
 are two workarounds:
 - Using an UNLIMITED dimension on the first dimension allows to append
 data
 - Use a large enough string to start with and make sure that the empty
 space is filled with \0.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/132#comment:1>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list