[Nexus] WARNING: multi-dimensional character arrays are not reallysupported?

Akeroyd, FA (Freddie) F.A.Akeroyd at rl.ac.uk
Wed Dec 13 16:37:35 GMT 2006


Brian,

I believe multi-dimensional character arrays should work with the HDF4
interface, but maybe not with HDF5/XML. For more details see:

http://lists.nexusformat.org/pipermail/nexus/2004/000179.html
http://lists.nexusformat.org/pipermail/nexus/2004/000180.html

If you are having problems with HDF4 then please post a bug report, with
a small example file if possible, to http://trac.nexusformat.org/code/
to assist with investigation of your HDF4 problem.

With regard to HDF5/XML, I personally would like to see
multi-dimensional character arrays supported; however neatly handling
the presence of trailing spaces/embedded newlines etc. may require some
thought with the XML API. 

Regards,

Freddie

-----Original Message-----
From: nexus-bounces at nexusformat.org
[mailto:nexus-bounces at nexusformat.org] On Behalf Of tieman
Sent: 12 December 2006 16:33
To: Nexus List
Subject: [Nexus] WARNING: multi-dimensional character arrays are not
reallysupported?

Well, now that I've got most of my stuff built to use Nexus 3.0.0, I've 
started validating that all works as before...and of course it doesn't
:(

In particular, I now get a "WARNING: multi-dimensional character arrays 
are not really supported" when trying to read 2 dimensional character 
data.  I do this routinely to store a list of file names relevant to the

data set.  For example, I may have a list of file names for the bright 
fields taken with the CCD for an experiment.  And another list with the 
names of the raw files.  The lists were all saved with Napi1.3.2 and 
previous as a 2D char arrays.

I can not read these files with Nexus3.0.0.  Is this due to issues with 
HDF5 and/or XML?  I haven't started hacking into the napi code too much 
other than to find the location of the error (NXgetinfo) and compare it 
to napi1.3.2 to see what's changed. 

I literally have thousands of data sets already collected that have this

issue if I make the switch to Nexus3.0.0--I need a solution even if it 
means hacking into the Napi code myself...any suggestions?

Brian


_______________________________________________
NeXus mailing list
NeXus at nexusformat.org
http://lists.nexusformat.org/mailman/listinfo/nexus



More information about the NeXus mailing list