[NeXus-committee] Table like NeXus XML output

Akeroyd, FA (Freddie) F.A.Akeroyd at rl.ac.uk
Wed Mar 19 20:37:30 GMT 2008


I've finally had some time to follow up
http://lists.nexusformat.org/pipermail/nexus-committee/2007/000220.html
and implemented an additional XML format for NeXus that has a more table
(column) like appearance. Both this and the original xml style for data
can co-exist in the same file as shown at
http://trac.nexusformat.org/code/attachment/ticket/111/NXtest-table.xml
The alternative format is enabled by passing the NXACC_TABLE flag to
NXopen() and nxconvert now has a "-o table" option to enable this style
for XML output. More details are at
http://trac.nexusformat.org/code/ticket/111 and the new code is
contained in the latest trunk snapshot from
http://download.nexusformat.org/kits/snapshots.shtml 

There are a few things left to do: slab reading and writing doesn't
fully work with the new style yet, the XML file could do with a little
more tidying up and the choice of Idims/Idata was a bit arbitrary but
got things going (any suggestions - or should the names be
configurable?). I believe this output style will be useful for reduced
data as fixed width ASCII columns can easily be extracted by users into
many packages. 

Freddie




More information about the NeXus-committee mailing list