[Nexus-developers] NX_BINARY

Mark Koennecke Mark.Koennecke at psi.ch
Tue Nov 16 10:39:12 GMT 2004



  High,

  I'am mostly finished fixing the NAPI issues resulting from the October
  NIAC meeting. In the meantime a new version of mxml was released which
  contains the changes necessary to make XML NeXus-API work. There is
  a little bug in mxml there though.. 

  NX_BINARY: there are two ways to do it:
  - cheap: just map NX_BINARY to NX_UINT8 and forget
  - good: handle NX_BINARY properly: i.e. read it correctly, allow only
    0,1 as values. This is a problem as HDF does not have a native boolean
    type. A workaround would be to have an attribute boolean=1 on boolean
    datasets which flags the condition. 

  Which one is the preferred solution? Better suggestions?

			Best Regards,

				Mark Koennecke






More information about the NeXus-developers mailing list