[NeXus-code-tickets] [NeXusCode] #7: Problem readining 2D NX_CHAR data with Nexus3.0.0

NeXus Data Format Library and Applications noreply at nexusformat.org
Thu Dec 14 16:00:24 GMT 2006


#7: Problem readining 2D NX_CHAR data with Nexus3.0.0
--------------------+-------------------------------------------------------
 Reporter:  Tieman  |       Type:  defect 
   Status:  new     |   Priority:  major  
Milestone:          |   Keywords:  NX_CHAR
--------------------+-------------------------------------------------------
 I have about 1 gagillion files created with Napi1.3.2 that wrote a file
 name list as a 2D NX_CHAR array to the HDF4 format files.

 While upgrading my code to Nexus3.0 it was discovered that I can no longer
 read these files.  The new version of napi.c appears to limit the reading
 of NX_CHAR arrays to 1 dimension.

 <snip>
   NXstatus CALLING_STYLE NXgetinfo (NXhandle fid, int *rank,
                     int dimension[], int *iType)
 ...
     if ( (*iType == NX_CHAR) && (*rank > 1) )
     {
     NXIReportError(NXpData,
       "WARNING: multi-dimensional character arrays are not really
 supported");
     }
 ...
 </snip>

 I have not been able to deternin if the same restriction applies to
 writing files--if so, that would need to be fixed as well...

 This bug is preventing me from upgrading to newer releases of Nexus.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/7>
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